Official VS Code Extension
The official extension is located inside the repository at editors/vscode/ and available on the Visual Studio Marketplace.
bash
1code --install-extension shantopaul.sp-lang
Extension Features
- TextMate Grammar: Complete syntax highlighting for keywords, types, decorators, strings, numbers, and doc comments.
- Language Server Integration: Automatically connects to
spls.exefor code completion, hover tooltips, and real-time red squiggly error diagnostics. - Debug Adapter Protocol: Configures
spd.exefor one-click F5 debugging with breakpoints and variable viewing. - Snippets: Quick code snippets for
fn,class,struct,match, andtestblocks.
Bundled in Release Packages
When you install SP via
winget, install.ps1, or install.sh, the VS Code extension manifest is automatically installed into your editor.