ScrapScript Syntax Highlighting for VS Code
First release of the VS Code extension providing syntax highlighting for ScrapScript (.scrap) files.
Features
- Syntax highlighting for ScrapScript language constructs
- Support for comments, strings (including interpolated), numbers, variants, and operators
- Auto-closing brackets and quotes
- File association for
.scrapfiles
Installation
- Download the
scrapscript-syntax-0.1.0.vsixfile below - Install with:
code --install-extension scrapscript-syntax-0.1.0.vsix
Usage
Open any .scrap file in VS Code to see syntax highlighting.
What's Included
- Comments (
--) - Strings with interpolation support (
"hello"world"") - Numbers (integers and floats)
- Variants (
#ok,#error) - Operators (
->,++,>+, etc.) - Pattern matching (
|)