Skip to main content

GoSQLX for VS Code

Real-time SQL validation, formatting, and linting directly in your editor. Powered by the GoSQLX parser with multi-dialect support.

Features

Real-time Diagnostics

Instant SQL error detection as you type, with precise position information and actionable messages.

SQL Formatting

Auto-format SQL files on save or on demand. Consistent, readable output every time.

Linting L001–L010

10 built-in lint rules covering SELECT *, missing WHERE on UPDATE/DELETE, implicit joins, and more.

Multi-dialect

Supports PostgreSQL, MySQL, SQLite, SQL Server, Oracle, Snowflake, and ClickHouse out of the box.

Bundled Binary

Ships with the GoSQLX binary for your platform. No external dependencies required.

LSP-powered

Full Language Server Protocol integration for hover info, diagnostics, and formatting.

Install via CLI

Terminal
$ code --install-extension ajitpratap0.gosqlx

Key Settings

{
  "gosqlx.executablePath": "/usr/local/bin/gosqlx",
  "gosqlx.forcePathLookup": false
}