Jsson Docs

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-vscode

Manual Installation (VSIX)

If you have the .vsix file:

code --install-extension jsson-vscode-0.0.6.vsix

Or in VS Code:

  1. Open Command Palette (Ctrl+Shift+P)
  2. Type "Install from VSIX"
  3. Select the .vsix file

LSP Server Setup

The extension includes the LSP server. No additional setup required!

If you want to use a custom LSP binary:

  1. Build the LSP server:
cd jsson
go build -o bin/jsson-lsp ./cmd/lsp
  1. Configure the extension:
{
  "jsson.lsp.path": "/path/to/jsson-lsp"
}

Verify Installation

  1. Create a new file: test.jsson
  2. Type the following:
config {
  name = "Hello JSSON"
  enabled = yes
  id = @uuid
}

You should see:

  • ✅ Syntax highlighting
  • ✅ No red error squiggles
  • yes highlighted as boolean
  • @uuid highlighted as validator

Troubleshooting

Extension not working?

  1. Reload VS Code: Ctrl+Shift+P → "Reload Window"
  2. Check output: View → Output → Select "JSSON"
  3. Verify file extension: Must be .jsson

LSP not starting?

  1. Check the LSP path in settings
  2. Ensure the binary is executable
  3. Check the Output panel for errors

Supported VS Code Versions

  • VS Code 1.75.0 or later
  • VS Code Insiders
  • VSCodium

On this page