GoSQLX for VS Code
Real-time SQL validation, formatting, and linting — powered by GoSQLX's LSP server
Install ExtensionFeatures
Real-time Diagnostics
Instant SQL syntax errors and warnings as you type, with precise position information.
SQL Formatting
AST-based formatter for consistent, readable SQL output across your entire project.
Linting (L001-L010)
10 built-in lint rules covering SELECT *, missing WHERE, implicit joins, and more.
Multi-dialect Support
PostgreSQL, MySQL, SQL Server, Oracle, and SQLite dialects out of the box.
Bundled Binary
No separate install required — the GoSQLX binary is bundled with the extension.
LSP-powered
Built on the Language Server Protocol for reliable, standards-based IDE integration.
Install via Command Line
$ code --install-extension ajitpratap0.gosqlx
Key Settings
{
// Path to the GoSQLX executable (uses bundled binary by default)
"gosqlx.executablePath": "",
// Force lookup of gosqlx binary on system PATH
"gosqlx.forcePathLookup": false
} Most users don't need to change any settings — the extension works out of the box.