Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>MapTool-Script SupportNew to Visual Studio Code? Get it now.
MapTool-Script Support

MapTool-Script Support

Bryan C. Jones

|
103 installs
| (0) | Free
Syntax highlighting support for the old MapTool scripting language
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Maptool VSCode Language Support

Visual Studio Code extension for MapTool macro script language support. Sample

Features

Basic syntax highlighting for MapTool script.

  • Roll Options.
  • Most nested macros.
  • Special variables.
  • Separate scopes for built-in vs user-defined fuctions.
    • By default built-in functions are bold, but that can be customized by theme.
  • RPEdit formatting support.

Multi-part example

Extension Settings

None yet. :/

Known Issues

This is very basic. So depending on your coding style it may not catch everything.

Release Notes

0.1.3

  • Fixed colon used for identifying library in macro roll-option breaks highlighting.

0.1.2

  • Fixed binary operators breaking quoted strings.

0.1.1

  • Fixed omission in TextMate grammar causing statements without roll-options to not highlight.

See Changelog for past release notes.

Roadmap

Planned features

  • Improved Syntax Highlighting
    • Operator highlighting
    • Better multi-line macro support
  • Semantic Highlighting
  • MTScript Language Server
    • Better nested scope handling
    • Hover-text of built-in functions
    • Recognizing variables
    • Tracking UDFs
    • FoldingRangeProvider
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft