LSP

Editor integration via the Sounio Language Server (sounio-lsp).

LSP (Language Server)

Sounio provides an LSP server for IDE/editor integration.

Build

sounio-lsp is a separate binary behind the lsp feature:

cargo build -p souc --release --features lsp
./target/release/sounio-lsp --help

Run (stdio mode)

Editors typically start the server with stdio:

./target/release/sounio-lsp --stdio

VS Code

The repo contains a VS Code extension under editors/vscode/.

If you’re using an extension that expects souc lsp, point it at sounio-lsp instead (or update the extension configuration to run sounio-lsp --stdio).

Other Editors

Any LSP-capable editor can launch sounio-lsp --stdio.

Typical capabilities include:

  • diagnostics (syntax/type errors)
  • hover (types/docs)
  • go to definition / references
  • completion

Next