Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Inline SQLNew to Visual Studio Code? Get it now.
Inline SQL

Inline SQL

KristjanTammekivi

|
492 installs
| (0) | Free
Syntax highlighting for sql in template literals, with support for typescript type arguments
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

vscode-ts-sql-template-literal

forked from https://github.com/notyetspecified/vscode-sql-template-literal until this PR is merged

Syntax highlighting for code like:

const query = /*sql*/`SELECT * FROM users`;
const query = sql<User>`SELECT * FROM users`;

Publishing

https://code.visualstudio.com/api/working-with-extensions/publishing-extension#publishing-extensions

npm install -g vsce
vsce package
vsce publish
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft