Syntax colorization for MapServer Mapfile keywords.
Implemented as TextMate Grammar file (JSON format) which is supported in Visual studio 2017 text editor.
The base directory for custom TextMate Grammar files in Visual Studio 2017 is %USERPROFILE%\.vs\Extensions\.
In the most cases that path resolves to: C:\Users\<yourusername>\.vs\Extensions\
In this directory create directory named MapServer, then create Syntaxes inside it. Place MapServer.json file into that directory.
The final path will be: C:\Users\<yourusername>\.vs\Extensions\MapServer\Syntaxes\MapServer.json
Run Visual Studio, open MapServer text file (with .map extension), now it should display with syntax highlighting.