Installation
How to install the JSSON VS Code extension.
VS Code Marketplace
Open VS Code
Launch Visual Studio Code on your machine.
Open Extensions
Press Ctrl+Shift+X (Windows/Linux) or Cmd+Shift+X (macOS).
Search for JSSON
Type "JSSON" in the search bar.
Install
Click Install on the "JSSON Language Support" extension.
Command Line
code --install-extension jsson.jsson-vscodeManual Installation (VSIX)
If you have the .vsix file:
code --install-extension jsson-vscode-0.0.6.vsixOr in VS Code:
- Open Command Palette (
Ctrl+Shift+P) - Type "Install from VSIX"
- Select the
.vsixfile
LSP Server Setup
The extension includes the LSP server. No additional setup required!
If you want to use a custom LSP binary:
- Build the LSP server:
cd jsson
go build -o bin/jsson-lsp ./cmd/lsp- Configure the extension:
{
"jsson.lsp.path": "/path/to/jsson-lsp"
}Verify Installation
- Create a new file:
test.jsson - Type the following:
config {
name = "Hello JSSON"
enabled = yes
id = @uuid
}You should see:
- ✅ Syntax highlighting
- ✅ No red error squiggles
- ✅
yeshighlighted as boolean - ✅
@uuidhighlighted as validator
Troubleshooting
Extension not working?
- Reload VS Code:
Ctrl+Shift+P→ "Reload Window" - Check output: View → Output → Select "JSSON"
- Verify file extension: Must be
.jsson
LSP not starting?
- Check the LSP path in settings
- Ensure the binary is executable
- Check the Output panel for errors
Supported VS Code Versions
- VS Code 1.75.0 or later
- VS Code Insiders
- VSCodium