AppWorx, Dollar Universe and Sysload Community

  • 1.  AE syntax highlighting in Automic Community discussion forums

    Posted Jan 05, 2018 04:05 AM
    Would it be possible to add AE syntax highlighting to the Automic Community? Currently, AE script code blocks inserted into discussions are not formatted correctly.

    I recently posted an updated AE script brush file for use with Alex Gorbatchev’s JavaScript Syntax Highlighter. There is a free add-on for Vanilla Forums called CreativeSyntaxHighlighter that is able to use such brush files. So the pieces are available if someone wants to put them in place.

    Note: Right now, the Automic Community does not allow users to specify the language of a code block. This option should obviously also be turned on.

    Ping: Luu_Le_185, Automic_Community_5543


  • 2.  AE syntax highlighting in Automic Community discussion forums

    Posted Jan 05, 2018 04:42 AM
    Here is an example to illustrate the benefit of this idea.

    1. Automic Web Interface

    h5158o4ffg8e.png

    2. Java User Interface

    nib2l9yyej7g.png

    3. Confluence wiki with AE script brush file installed

    19rw77qwivyi.png

    4. Automic Community with default syntax highlighting (screenshot taken 2018.01.05)

    9vdf82ks6oje.pnghttps://us.v-cdn.net/5019921/uploads/editor/cz/9vdf82ks6oje.png" width="297">

    5. Automic Community with default syntax highlighting (inline pre block)

    ! Set variables based on system name
    :SWITCH &$SYSTEM#
    :  CASE "DEV"
    :    SET &DB_NAME#  = "DBD"
    :    SET &DB_SERVER = "dbd.mycompany.com"
    :    SET &DB_PORT#  = "7540"
    :  CASE "TEST"
    :    SET &DB_NAME#  = "DBT"
    :    SET &DB_SERVER = "dbt.mycompany.com"
    :    SET &DB_PORT#  = "7550"
    :  CASE "PROD"
    :    SET &DB_NAME#  = "DBP"
    :    SET &DB_SERVER = "dbp.mycompany.com"
    :    SET &DB_PORT#  = "7560"
    :ENDSWITCH
    ! Print job run ID
    :SET &RUNID# = FORMAT(&$RUNID#)
    :PRINT "Job run ID: &RUNID#"

    6. Automic Community (Vanilla Forums) with default syntax highlighting (inline  code block)

    ! Set variables based on system name
    :SWITCH &$SYSTEM#
    :  CASE "DEV"
    :    SET &DB_NAME#  = "DBD"
    :    SET &DB_SERVER = "dbd.mycompany.com"
    :    SET &DB_PORT#  = "7540"
    :  CASE "TEST"
    :    SET &DB_NAME#  = "DBT"
    :    SET &DB_SERVER = "dbt.mycompany.com"
    :    SET &DB_PORT#  = "7550"
    :  CASE "PROD"
    :    SET &DB_NAME#  = "DBP"
    :    SET &DB_SERVER = "dbp.mycompany.com"
    :    SET &DB_PORT#  = "7560"
    :ENDSWITCH
    ! Print job run ID
    :SET &RUNID# = FORMAT(&$RUNID#)
    :PRINT "Job run ID: &RUNID#"


  • 3.  AE syntax highlighting in Automic Community discussion forums

    Posted Jan 05, 2018 05:00 PM
    Hi Michael,

    For Vanilla itself, they have two separate product line; their free open source forum and their enterprise forum - so the majority of the open source isn't available on the enterprise platform.  The CreativeSyntaxHighlighter doesn't seem to be an options on the enterprise. But I will talk a look into this and see if there are other similar addon on their enterprise platform. 

    As I do agree, it would be good to have it be able to recognize Automic scripting language or an option to pick your own (beside the current system that try to "auto" recognize the language).


  • 4.  Re: AE syntax highlighting in Automic Community discussion forums

    Posted Apr 16, 2018 07:03 AM

    leflu01, now that the Automic discussion forums have been migrated to CA Communities, I hope you will look again at adding AE script syntax highlighting.

     



  • 5.  Re: AE syntax highlighting in Automic Community discussion forums

    Posted Apr 16, 2018 01:16 PM

    Hi Michael,

    Yes, this is something that I am looking into again for the new platform.