Results 1 to 10 of 33

Thread: MOHAA Syntax Highlighting for Sublime Text

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Lightbulb MOHAA Syntax Highlighting for Sublime Text

    Syntax Definitions for MoH:AA scripting languages.
    GitHub Repository - PackageControl

    The currently supported file types are:

    • [✔] .scr Morpheus Script files. (Syntax Highlighting, Completions & Snippets.)
    • [✔] .st State files. (Syntax Highlighting.)
    • [✔] .shader Shader files. (Syntax Highlighting.)
    • [✔] .tik TIKI files. (Syntax Highlighting.)
    • [✔] .cfg Config files. (Syntax Highlighting, Completions.)
    • [✔] .urc Menu files. (Syntax Highlighting, Completions.)
    • [✔] .mus Music files. (Syntax Highlighting, Completions.)
    • [✔] .log Server log files. (Syntax Highlighting.)


    Tooltips:
    This package contains tooltips for Morpheus built-in functions (Allied Assault, Spearhead, Breakthrough and Reborn Patch)

    To show a tooltip with the info about a function just click it with the cursor

    To disable the tooltips, go to: Preferences -> Package Settings -> MOHAA -> Settings
    and set "show_tooltips" to false (in the right side panel)



    Installation

    1. Download and install the latest version of Sublime Text here: sublimetext.com/download
    2. Once Sublime Text is installed, open it, go to the menu bar > Tools > Install Package Control...
    3. Open the command palette ([Ctrl]+[Shift]+[P] for Windows/Linux, [Cmd]+[Shift]+[P] for Mac)
    4. Search for Package Control: Install Package and hit [Enter]
    5. Type MOHAA and press [Enter] to install it.

      And if you use Windows 10: .scr file association fix for Windows 10






    Preview the Light & Dark themes included by default in Sublime Text


    Screenshots
    Spoiler: Screenshots


    tooltips



    Morpheus Script



    State Files



    Shader Files



    TIKI Files



    Config Files



    Menu Files



    Music Files



    Log Files





    Spoiler: .









    If you have never used Sublime Text, I highly recommend you to give it a try, it have a lot of useful addons and custom themes if you don't like the default one.

    Comments and suggestions will be greatly appreciated.
    Last edited by Zappa; December 3rd, 2021 at 06:36 AM.

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
  •