Provides snippets for dbt and Jinja functions in SQL, YAML, and Markdown.
Cool Tip: For a richer integration between dbt and vscode you should install vscode-dbt-power-user it does a LOT of cool stuff such as: code navigation between your models, completion aware of your dbt project, and much more. dbt power user has a dependency on this extension so you'll also find my snippets in there! Give it a go!
This snippet helps coders provide a high-level overview of every model in a standard way.
To enable support for these snippets when viewing a SQL, YAML, or Markdown file in Visual Studio Code, enter
Alternatively, add the following to your Visual Studio Code settings in your dbt project:
If snippet suggestions still do not work after selecting the appropriate language, try adding the following configuration to you Visual Studio Code project settings:
Using the Jinja YAML language for YAML files changes the default comment style from YAML (
dbt jinja concepts
adapted from https://github.com/fishtown-analytics/atom-dbt/blob/master/snippets/dbt-sql.cson
adapted from https://github.com/danielchatfield/atom-jinja2/blob/master/snippets/atom-jinja2.cson and https://github.com/fishtown-analytics/atom-dbt/blob/master/snippets/dbt-jinja.cson