Spanner SQL for VS Code
VS Code extension for GoogleSQL, powered by ssql-ls. Supports the GoogleSQL subset for Spanner.
Installation
Install from the VS Code Marketplace or search "Spanner SQL" in the Extensions panel.
The extension bundles the language server automatically — no additional setup required.
Features
All features come from the LSP server:
- Diagnostics (syntax errors, schema validation)
- Completion (tables, columns, functions, keywords)
- Hover (function signatures, column types)
- Go to Definition / Find References
- Formatting
- Rename
- Code Actions (uppercase keywords, extract CTE, convert implicit join)
- Semantic Tokens
- And more
Settings
| Setting |
Default |
Description |
ssql.serverPath |
"" (auto-detect) |
Path to the ssql-ls binary. Leave empty for auto-detection. |
Installing from VSIX
You can also install the extension manually from a .vsix file:
- Download the latest
.vsix from GitHub Releases
- Install via CLI:
code --install-extension vscode-ssql-*.vsix
Or in VS Code: Extensions panel → … → Install from VSIX…
| |