thebearingedge / vscode-sql-lit

🎨 Syntax highlighting for SQL template literals.
https://marketplace.visualstudio.com/items?itemName=thebearingedge.vscode-sql-lit
MIT License
18 stars 5 forks source link

vscode-sql-lit

Syntax highlighting for SQL tagged template literals in JavaScript and TypeScript.

Pairs nicely with the following packages:

Main Features

SQL syntax highlighting is triggered in a couple of ways:

Samples

Basic Tag

Basic Tag

Tag Method

Tag Method

Interpolated Values

Interpolated Values

TypeScript

Type Argument

PL/PgSQL

PL/PgSQL

Slonik

Slonik Methods

Slonik Typegen

Slonik Typegen

Slonik Validation

Slonik Validation

Template Comment Prefix

Template Comment Prefix

File Types

Advanced Language Support

None. This extension only offers syntax highlighting.

Be sure to follow best practices documented in your database driver package of choice to mitigate sql injection vulnerabilities!