LSP Setup
Editor integration for Sidemantic SQL via the Language Server Protocol.
Sidemantic includes an LSP server for its SQL dialect (MODEL/DIMENSION/METRIC/RELATIONSHIP/SEGMENT).
Start the Server
sidemantic lsp
uvx sidemantic lsp --help
Usage: sidemantic lsp
The LSP server runs on stdio. Configure your editor to start the command for files you want to edit.
Troubleshooting
- If completion doesn’t work, confirm the editor is actually launching
sidemantic lsp. - If diagnostics are missing, run
sidemantic validateand compare errors.