VMT syntax for Notepad++

Simple syntax highlighting and even auto-complete. This is mainly done to prevent situations where you check every fucking letter in such parameters, like "normalmapalphaenvmapmask" and "animatedtextureframenumvar".

Documentation

It's required to turn on the built-in quotation marks autocompletion feature for the syntax highlighting to work properly.

Hot feature: Swiftly comment/uncomment lines with "CTRL + Q" shortcut.

Colour Map:

_dx8, _dx6, _dx7, _dx81 and x360 stuff is not included on purpose. Those are super legacy fallbacks, nobody needs them and nobody wants to fuck with them really.

Technical: This addon was made using an elaborate script and some manual input. This means it contains absolutely every possible parameter from every source game ever (except DOD:S)

Install

Download the following 2 files (Make sure not to change names!):

vmt_syntax.xml - The syntax data.
vmt_mrk.xml - Autocomplete dictionary.

Hover the download links to see the last update date.

Technical

This addon contains parameters from the following games:

The VMT files from the games listed above were scanned for $ and % parameters, excluding VMTs which have proxies in them.

Then, the following stuff was added from manually created lists:

Finally, the resulting lists were quickly skipped through manually to create a blacklist of words, like "NormalMapAlphaEnvMapMas", "keyworkds" and so on.

Everything that was used to create this addon can be found here, including all the lists, script and so on. It's totally possible to use the script mentioned above to create a customized version of this addon. (The link above points to the same repository this website is served from).