Skip to content

apdevelop/mapserver-mapfile-syntax-coloring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MapServer Mapfile keywords colorization for Visual Studio 2017 text editor

Syntax colorization for MapServer Mapfile keywords. Implemented as TextMate Grammar file (JSON format) which is supported in Visual studio 2017 text editor.

How it looks

Coloring sample

Installing

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.

Known issues

  • Currently provides very basic set of MapServer Mapfile keywords and rules
  • Visual studio crashes when cursor hovering collapsed blocks (similar to issue)

About

MapServer Mapfile keywords colorization for Visual Studio 2017 text editor

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published