Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 33

Thread: MOHAA Syntax Highlighting for Sublime Text

  1. #21

    Default

    This is great! Thanks a lot, i will be using it.

  2. #22
    Administrator James's Avatar
    Join Date
    May 2010
    Location
    on the intraweb
    Posts
    3,180

    Default

    Amazing job!!

  3. #23

    Default

    New SublimeMOHAA release v1.1.0

    The whole addon was refactored
    Now it will work and look way better than before


    Spoiler: Changelog

    Changelog


    Morpheus Script Syntax Highlighting
    -------------------------------------

    - changed: Regex improvement to use the latest/fastest regex engine
    - fixed: Corrected various scopes for better/correct syntax highlighting
    - added: Support for multiline thread declaration
    - added: Documentation comment blocks with "@keyword" highlighting (javadoc-like) (just because it looks nice) screenshot
    - added: Highlighting for built-in parameters/methods. e.g. ".origin", ".size", etc...
    - added: Highlighting for unquoted strings. e.g. "playsound radioloop"
    - added: Configuration to trim all trailing whitespace on save
    - added: "else" and "else if" snippets
    - added: Toggle comment shortcuts. screenshot
    "Ctrl + /" to toggle a line comment.
    "Ctrl + Shift + /" to toggle a block comment
    (the "/" key may vary depending on your keyboard language)


    TIKI Syntax Highlighting
    ------------------------

    - added: Syntax Highlighting for TIKI (.tik) files
    - added: Configuration to trim all trailing whitespace on save
    - added: Toggle comment shortcuts
    "Ctrl + /" to toggle a line comment.
    (the "/" key may vary depending on your keyboard language)


    Shaders Syntax Highlighting
    ---------------------------

    - added: Syntax Highlighting for Shader files
    - added: Configuration to trim all trailing whitespace on save
    - added: Toggle comment shortcuts
    "Ctrl + /" to toggle a line comment.
    "Ctrl + Shift + /" to toggle a block comment
    (the "/" key may vary depending on your keyboard language)


    Menu files Syntax Highlighting
    ------------------------------

    - added: Syntax Highlighting for Menu (.urc) files
    - added: Configuration to trim all trailing whitespace on save


    Music files Syntax Highlighting
    ------------------------------

    - added: Syntax Highlighting for Music (.mus) files


    State files Syntax Highlighting
    -------------------------------

    - fixed: Corrected various scopes for better/correct syntax highlighting


    Config files Syntax Highlighting
    --------------------------------

    - changed: Regex improvements for better highlighting



    Also added new screenshots in the First Post

    If you find a bug or have suggestions, please let me know.

  4. #24

    Default

    Thank you for creating this !

  5. #25

    Default

    Very cool. I turned off whitespace trimming via Preferences - Settings - Syntax Specific though, to stop git showing them as changes when working with people using different editors. You can make git ignore them but I think it's easier this way.

  6. #26

    Default

    I wish there was an extension for Visual Studio Code as well

  7. #27

  8. #28
    Developer Todesengel's Avatar
    Join Date
    Dec 2013
    Location
    St. Louis, Missouri, USA
    Posts
    276

    Default notepad++

    In addition to the sublime one and the vstudio one, there is also morpheus script add-in for notepad++ from our very own Ryback

    HTML Code:
    https://github.com/mohabhassan/MorphuesNPP
    I feel so left out with vi

  9. #29

    Default

    Quote Originally Posted by Ivrin View Post
    Thank you for creating this !
    Thank you for using it
    and happy first forum post XD

    Quote Originally Posted by Ley0k View Post
    I wish there was an extension for Visual Studio Code as well
    I will assume you are being ironic (?), since you are someone who hates bloated Electron apps

    Quote Originally Posted by Appelpitje View Post
    Is the guy who created this addon from the mohaa community?
    He basically copied the first (poor) version of my plugin and ported it to vscode, so no effort at all from his part . not to mention it only supports .scr files

    I could try to make a better version for vscode (as I mentioned before in this thread). But, I don't see it as something worthwhile
    VScode is amazing for others things and have great addons made by its community,
    but Sublime is good enough for this purpose (editing scripts/modding), (as well as Notepad++)
    Sublime is way faster, and its syntax highlighting engine is more powerful than the vscode one.

    Honestly, I would be using vscode for everything if it wasn't for the fact that it's so fucking slow.

  10. #30

    Default

    New Version 1.1.1

    This release is mostly improvements to the syntax highlighting, scopes and completions

    Spoiler: changelog

    Morpheus Script Syntax Highlighting
    -----------------------------------
    - fixed: Improved highlighting of built-in properties (getters, setters)
    - fixed: Improved the scope of all snippets. They are ignored when writing quoted strings or object properties
    - fixed: All missing Breakthrough commands are now present
    - changed: "wait" and "waitframe" keywords use now the 'keyword' scope instead of the 'function' scope (it makes more sense, visually)
    - changed: Various regex improvements


    TIKI Syntax Highlighting
    ------------------------
    - fixed: Added missing Keywords 'end' and 'lod_scale'
    - fixed: Improved 'string.unquoted' scope for paths


    Uber Resource Script files Syntax Highlighting
    --------------------------------------------
    - changed: The name "Menu file" to "Uber Resource Script (menus)"





    Next release will include tooltips with the description and examples for all AA, SH, BT and Reborn commands:




    Also, Sublime Text 4 is coming soon

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •