Prettier plugins for SQL dialects, powered by native parsers — no regex, no guesswork.
| Package | Dialect | npm |
|---|---|---|
| prettier-plugin-tsql | T-SQL (SQL Server / Azure SQL) | |
| prettier-plugin-postgresql | PostgreSQL |
Each plugin ships its own docs:
- T-SQL — Getting Started · Options · Formatting Rules · Examples
- PostgreSQL — Getting Started · Options · Formatting Rules · Examples
Extensions live under extensions/:
| Extension | Editor | Platform |
|---|---|---|
| vscode-sql | VS Code — T-SQL and PostgreSQL, no npm setup required | macOS · Linux · Windows |
| vsix-tsql | Visual Studio 2022/2026 and SSMS 22 — T-SQL | Windows |
| vsix-pgsql | Visual Studio 2022/2026 — PostgreSQL | Windows |
pnpm install # install all workspace packages
pnpm -r build # build all packages in dependency order
pnpm -r test # run all test suitesSee the developer guide for architecture details.