VS Code extension: SQL tagged template literals
A VS Code extension, which enables syntax highlighting for template literals tagged with an
It works with simple tagged template literals as well as with an
In TypeScript files it also enables SQL syntax validation and type checking for parameters using the typescript-sql-tagged-template-plugin. Type checking requires configuration of the database schema. You can have a look at the plugin documentation for details.
If you're not using PostgreSQL, syntax validation and type checking may not work properly. Have a look at SQL tagged template literals (syntax only), which is the same extension but syntax highlighting only.
This is based on several great existing extensions: