This extension provides syntax highlighting for SmashLang (.smash) files in Windsurf.
- Syntax highlighting for SmashLang source code
- Support for SmashLang keywords, functions, and operators
- Comment toggling (line and block comments)
- Bracket matching and auto-closing
To install the extension in Windsurf:
- Open Windsurf
- Go to Extensions view (View → Extensions or press Cmd+Shift+X)
- Click on the "..." menu (three dots) at the top of the Extensions view
- Select "Install from VSIX..."
- Navigate to the location where you've packaged this extension as a .vsix file and select it
To create a VSIX package from this extension:
- Install vsce:
npm install -g vsce - Navigate to the extension directory
- Run:
vsce package - This will generate a .vsix file that you can install in Windsurf
Once installed, Windsurf will automatically use this extension for any files with the .smash extension.
- Keywords:
fn,if,else,while,for,return, etc. - String literals (single quotes, double quotes, and template literals)
- Comments (line and block comments)
- Function declarations and calls
- Variable declarations
- Constants and numeric literals
- Operators
- Regular expressions
MIT