This morning, I spent a couple hours configuring Notepad++ to work with WME. I'm posting the instructions here so that others don't need to duplicate my effort.
ABOUT NOTEPAD++
Notepad++ is a free, powerful text editor available from http://notepad-plus.sourceforge.net/uk/site.htm. Compared to Crimson Editor (which I was using previously), here are its advantages and disadvantages.
Pros: You can rearrange tabs and collapse bracket pairs within a script. It's open source and still being maintained.
Cons: You can't assign shortcut keys to user-defined commands (i.e. checking WME syntax).
CONFIGURING NOTEPAD++
The following instructions assume that Notepad++ is installed in C:\Program Files\Notepad++:
1. Console. In C:\Program Files\Notepad++\plugins\Config\NppExec.ini, change "Visible=0" to "Visible=1".
**This will cause the console to show automatically when you open Notepad++.
2. Highlighting and Formatting. Select Settings > Styler Configurator.
a. Select Enable Global Font and Enable Global Font Size.
**This will cause Notepad++ to display the entire script (even comments) in the same-size fixed-width font.
b. Under Language, select Java. Add script to the User ext field.
**This will cause Notepad++ to automatically highlight .script files as if they were written in Java.
3. Syntax checking. In C:\Program Files\Notepad++\plugins\Config\npes_saved.txt, add the following:
Where C:\Program Files\WME DevKit\projects\[project]\[project].wpr is the path to your WME project file.
**Now, to check the syntax of a script, press F6, change the dropdown menu to wme_check_syntax, and press OK.
ABOUT NOTEPAD++
Notepad++ is a free, powerful text editor available from http://notepad-plus.sourceforge.net/uk/site.htm. Compared to Crimson Editor (which I was using previously), here are its advantages and disadvantages.
Pros: You can rearrange tabs and collapse bracket pairs within a script. It's open source and still being maintained.
Cons: You can't assign shortcut keys to user-defined commands (i.e. checking WME syntax).
CONFIGURING NOTEPAD++
The following instructions assume that Notepad++ is installed in C:\Program Files\Notepad++:
1. Console. In C:\Program Files\Notepad++\plugins\Config\NppExec.ini, change "Visible=0" to "Visible=1".
**This will cause the console to show automatically when you open Notepad++.
2. Highlighting and Formatting. Select Settings > Styler Configurator.
a. Select Enable Global Font and Enable Global Font Size.
**This will cause Notepad++ to display the entire script (even comments) in the same-size fixed-width font.
b. Under Language, select Java. Add script to the User ext field.
**This will cause Notepad++ to automatically highlight .script files as if they were written in Java.
3. Syntax checking. In C:\Program Files\Notepad++\plugins\Config\npes_saved.txt, add the following:
Code: [Select]
::wme_check_syntax
"C:\Program Files\WME DevKit\wme_comp.exe" -project "C:\Program Files\WME DevKit\projects\[project]\[project].wpr" -script "$(FULL_CURRENT_PATH)"Where C:\Program Files\WME DevKit\projects\[project]\[project].wpr is the path to your WME project file.
**Now, to check the syntax of a script, press F6, change the dropdown menu to wme_check_syntax, and press OK.




Logged





Just unzip it in the settings folder of your notepad++ installation (it should be %appdata%\notepad++) and you'll have a "WME script" option in the language selection.
.