Script syntax coloring
Jump to navigation
Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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 -> Template:Path
- a folder will be opened, backup your Template:Path file if existing
- download from here Template:Path and copy it on Template:Path folder opened before
- 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