Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Snowflake SQL (sql-dialect-fmt)New to Visual Studio Code? Get it now.
Snowflake SQL (sql-dialect-fmt)

Snowflake SQL (sql-dialect-fmt)

sql-dialect-fmt

|
1 install
| (0) | Free
Snowflake SQL syntax highlighting for worksheets, scripts, stages, variables, and embedded routine bodies.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Snowflake SQL

Focused Snowflake SQL syntax highlighting for Visual Studio Code, backed by the same keyword and type definitions used by sql-dialect-fmt.

Snowflake SQL syntax highlighting

Features

  • Snowflake SQL keywords and built-in types

  • Snowflake Scripting and $$ ... $$ routine bodies

  • line (--, //) and block (/* ... */) comments

  • strings, quoted identifiers, numeric literals, and operators

  • positional $1, session $name, bind :name, and ? variables

  • @stage, @~, @%table, and namespaced stage references

  • .sql, .snowsql, and .sfsql file associations

  • Language ID: snowflake-sql

  • Scope name: source.snowflake-sql

  • File types: .sql, .snowsql, .sfsql

The keyword and type word lists are kept in lock-step with the formatter's own lexer/highlighter by tests in sql-dialect-fmt-highlight (tests/textmate.rs): every word the grammar scopes as a keyword or type must be classified the same way by sql_dialect_fmt_highlight::classify, so the grammar can't drift from the rest of the toolchain.

Use

  1. Install the extension.
  2. Open a .sql, .snowsql, or .sfsql file.
  3. If needed, choose Change Language Mode and select Snowflake SQL.

This extension contributes syntax highlighting and language metadata. It does not execute SQL, connect to Snowflake, or include the browser formatter. For CLI formatting and other integrations, see the main project README.

Privacy

The extension contains no runtime code, telemetry, analytics, network requests, or remote formatting. It only contributes static language configuration and TextMate grammar files. See the privacy policy.

Support and source

  • Report an issue
  • Source code
  • License: 0BSD
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft