Anyway I have some tools to help with OpenTTD squirrel coding, namely syntax highlighting(colouring) and code completion for the API that others might find useful.
Features
----------
- Syntax highlighting, for the Squirrel language (structure(brackets), keywords, comments, operators and math library), NoAI API, NoGo API and with Doxygen support too.
- Code completion, for the Squirrel language (keywords, functions(methods or default delegates), metamethods), NoAI and NoGo API (functions, classes and enumerators) version 1.4, math lib. These provide return value, function/class etc definition, parameters and description.
Download
----------
To use (Windows)
--------
- Syntax highlighting, put "userDefineLang.xml" in "C:\Users\%USERNAME%\AppData\Roaming\Notepad++\". (Note if this file already exists you may wish to back up or merge to keep existing user defined language.) Now a file opened with .nut extension should have the highlighting, otherwise it can be activated by Language -> Squirrel . Colours and customizing can be done in Language -> Define Your Language -> select "Squirrel". (Note if you make use of code folding - using the [+]/[-] blocks next to "{" and "}" to collapse the blocks of code, you will need the beta branch of the UDL2.0 lexer available here).
- Code completion, put "Squirrel.xml" in the "\Notepad++\plugins\APIs\" folder, usually in "C:\Program Files\". Activate in Notepad++ by Settings -> Preferences -> Auto-Completion -> select "Enable auto-completion on each input", "Function completion" and "Function parameters hint on input". (Note this requires a User Defined Language (UDL) called "Squirrel" to work, like the one above.) This is based on the 1.3.3 NoGo and NoAI API and was created by a custom xml parser and writer from the DoxyGen docs. The best way to do this would probably be to have one autogenerated for each new version of the API by a Python script or something. My current version is made from a Excel database and will need to be updated manually for API changes.
Links and resources (For anyone looking to modify and my own reference

----------------------
- UDL2.0 Docs here.
- UDL2.0 beta branch here.
- UDL Autocomplete xml documentation here.