Syntax highlighting for RPTools' MapTool macros in Sublime Text.
- Syntax Highlight
Does recognize pretty much everything inside the macro tags, with in-place HTML highlighting as well.
You can easily install through the Command Palette:
- Open the Command Palette... (CTRL+SHIFT+P on Windows/Linux or ⌘⇧P on Mac)
- Type in
Package Control: Install Packageand hit Enter (justinstall packagewill do too)
- Type in
MapTool Syntaxand hit Enter
- Profit!
Open the Command Palette, type in Browse Packages and paste the MapTool.sublime-syntax file there. Sublime Text will automatically load it. You can test it by:
- opening an .rpmacro file;
- changing the file type through the status bar;
- changing the syntax through the Command Palette with the
Set Syntax: MapTool Macrocommand.
- Add the new functions (from 1.4 release)
- Add javascript highlighting (for MapTool 1.4+)
- Expand the repository to have commands and other goodies
Happy macro’ing!


