This extension provides language support for MarScript and MarWin from Mahr GmbH.
- Syntax highlighting for MarScript files (*.sbr, *.mpr, *.inc)
- Support for:
- Keywords (BEGIN, END, IF, ELSE, etc.)
- Data types (INT, DOUBLE, STRING)
- Built-in functions (ABS, FLOOR, SQRT, etc.)
- Numeric literals (integers, floats, hex, binary, scientific notation)
- Comments (Single line // and Multi line /* */)
- Operators
- Open Visual Studio Code
- Open the Extensions view (
Ctrl+Shift+XorCmd+Shift+X) - Search for "MarScript"
- Click "Install"
Download the .vsix file from the Releases page and install it:
code --install-extension marscript-x.y.z.vsix.sbr- MarScript source files.mpr- MarScript program files.inc- MarScript include files
MarScript files typically use the character encoding Windows-1252 (ISO 8859-1).
Please make sure that the following setting is set in your .vscode/settings.json:
{
"files.encoding": "windows1252",
"[marscript]": {
"files.encoding": "windows1252"
}
}This ensures that special characters (like umlauts: ä, ö, ü) are displayed correctly.
Once installed, the extension automatically provides syntax highlighting for all .sbr, .mpr, and .inc files.
Contributions are welcome! Please see CONTRIBUTING.md for guidelines on:
- Reporting bugs
- Suggesting features
- Submitting pull requests
- Commit message conventions
For developers and maintainers, see DEVELOPMENT.md for information on:
- Project structure
- Local development setup
- Building and packaging
- Release process
- Repository maintenance
See CHANGELOG.md for a detailed list of changes in each version.
First stable release with complete MarScript syntax highlighting support.