- Joined
- Sep 26, 2009
- Messages
- 9,534
Awesome Syntax Highlighting:
Starting with moyac's great concept of JASS highlighting in Notepad++, I decided to complete the project with the full blizzard.j and common.j natives and variables and what-not.
Notepad++ (freeware)
BribeText (language pack)
Two things need to be configured, I've discovered.
Click View -> User-Defined Dialogue
-> Select from dropdown menu BribeText
-> Keywords List Tab -> 3rd Group -> check "prefix mode"
-> Comment & Number Tab -> Comment Line -> check "treat symbol as keyword"
Here is a peek at what I've done (it's kind of a mix between Java and JassCraft).
Features that are way better than TESH:
• Takes 1 second to open, save and close.
•
• Quick line duplication (Ctrl+D)
• Smart highlighting (click a word and it highlights every like word in the code)
• IMO more aesthetically pleasing
• Way better Find&Replace utility
• Highlights every single common.j and blizzard.j function.
• Can add your own words to highlight
• "Compare to Last Save" option (and a built-in SVN component I haven't figured out)
• Lots more; Notepad++ is rich, just crazy rich with features I've yet to discover. I hate using NewGen to edit because of the capabilities this has.
Cons:
• Not able to check syntax (whoo copy+paste it in).
• Can't fold (but Notepad's folding looks silly anyway as it hides the endblock)
• You have to download a (very small) .zip folder and install Notepad++.
Starting with moyac's great concept of JASS highlighting in Notepad++, I decided to complete the project with the full blizzard.j and common.j natives and variables and what-not.
Notepad++ (freeware)
BribeText (language pack)
Code:
How to install (kinda copied from moyac's install tips):
[B]First download and install Notepad++ in your PC.[/B]
1. Type %APPDATA%\Notepad++ in Run box, then Enter;
a new folder will open.
2. The zip file contains a file named "userDefineLang.xml".
3. Extract that file into the opened folder.
4. Launch Notepad++
In order to test it, open a JASS file, select the menu [I]Language > BribeText[/I]. You should see vJass code properly highlighted.
Two things need to be configured, I've discovered.
Click View -> User-Defined Dialogue
-> Select from dropdown menu BribeText
-> Keywords List Tab -> 3rd Group -> check "prefix mode"
-> Comment & Number Tab -> Comment Line -> check "treat symbol as keyword"
Here is a peek at what I've done (it's kind of a mix between Java and JassCraft).

Features that are way better than TESH:
• Takes 1 second to open, save and close.
•
.structhighlighting
• Quick line duplication (Ctrl+D)
• Smart highlighting (click a word and it highlights every like word in the code)
• IMO more aesthetically pleasing
• Way better Find&Replace utility
• Highlights every single common.j and blizzard.j function.
• Can add your own words to highlight
• "Compare to Last Save" option (and a built-in SVN component I haven't figured out)
• Lots more; Notepad++ is rich, just crazy rich with features I've yet to discover. I hate using NewGen to edit because of the capabilities this has.
Cons:
• Not able to check syntax (whoo copy+paste it in).
• Can't fold (but Notepad's folding looks silly anyway as it hides the endblock)
• You have to download a (very small) .zip folder and install Notepad++.
Last edited: