Script syntax coloring
Jump to navigation
Jump to search
Script syntax coloring
Following this discussion on forum, my proposal to give script coders a quick system for syntax coloring.
The goal of this system is to provide a first tool in the analysis of scripts of the game and their control.
Notepad++
Install & Using
I'm assuming that you are using Windows (procedure apply with Linux or Mac too, just need someone to check information below):
- Install notepad++ from Notepad++ site
- start-> run ->
%appdata%\Notepad++
- a folder will be opened, backup your
userDefineLang.xml
file if existing - download from here
userDefineLang.xml
and copy it on%appdata%\Notepad++
folder opened before
- a folder will be opened, backup your
- run notepad++
- open using notepad++ a ufo-ai script file, for example:
- https://ufoai.svn.sourceforge.net/svnroot/ufoai/ufoai/trunk/base/ufos/ui/bases.ufo
- open languages and select language "UFO"
- now you can see ufo script syntax colored