1. Don't forget, you can also get help in IRC: #sk89q (NO CommandHelper help there) and #commandhelper (ONLY CH help there).

Syntax Highlighting for Notepad++

Discussion in 'CommandHelper' started by MrMagical, May 25, 2011.

  1. MrMagical New Member

    This is a language file for the popular Windows text editor Notepad++ which adds some basic syntax highlighting for CommandHelper scripts.

    Installation:
    Place userDefineLang.xml in %AppData%\Notepad++

    Download


    Preview:
    [IMG]
  2. LadyCailin Administrator

    Gender:
    Female
    Excellent! I've added a link to this thread on the front page of the wiki. Thanks for making this!
  3. yellowblood New Member

    Gender:
    Male
    This is awesome. Together with NppFTP (in plugins) it's very easy to work with CommandHelper :D

    Not that I have anything against VIM :p
  4. __import__ New Member

  5. MrMagical New Member

    Updated the link in the original post to point to my latest version.

    Changes:
    • Added the new operators
    • Special words like exception names, event names etc. are now highlighted
    • Contains all the functions in the current dev build
  6. aviator1014 Member

    Gender:
    Male
    Hi i'm having a slight bug with it. When it happens upon a period when used for concatenation, it seems to escape the following single quote, so it reverses what is highlighted as a string. The code still works fine but it's a bit confusing to look at.
    [IMG]
  7. MrMagical New Member

    I don't get that problem if I type out the code in your screenshot. Things you can try:
    1. Update Notepad++.
    2. Use the exact same file I'm using.
    3. Put the code in the screenshot on the paste bin and give me a link so that I can test it.
  8. aviator1014 Member

    Gender:
    Male
    There we go, the problem was I was missing most of the operators from that list. thanks!

Share This Page