pezon / vscode-dbt-power-user

This extension makes vscode seamlessly work with dbt.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vscode-dbt-power-user

Last updated Version Installs Build passing

This extension makes vscode seamlessly work with dbt.

Main features:

  • Query result set visualization
  • Execute all or individual model tests
  • Go to the definition of any models, macro's and sources.
  • Autocompletion of models, macros and sources
  • Ability to run a model through the play button of the document
  • dbt update notifications
  • dbt logs viewer (force tailing)

This extension is using the Python extension to detect Python interpreters that are installed in standard locations. See Python Environments.

This extension is fully compatible with the remote extension. See Visual Studio Code Remote - Containers and Visual Studio Code Remote - WSL.

Please let us know about any bugs or feature requests through the github issues.

This extension is sponsored by innover.io.

Query visualization and compilation is powered by dbt-osmosis.

Features at work

Visualize the result set of your model (new)

Use ctrl+enter or cmd+enter to retrieve the result set of your model

See the compiled query of your model (new)

Use ctrl+' or cmd+' to see the compiled sql of your model

Execute model tests (new)

Test your model

See the model graph

See the graph and execute parent or children models

Go to definition

Go to model definition

Go to macro definition

Go to source definition

Autocompletion

Autocomplete model

Autocomplete macro

Autocomplete source

dbt logs force tailing

dbt logs

How to use the extension

You should associate your .sql files with the jinja-sql language by configuring in Preferences > Settings

Associations

or add the following in settings.json:

    "files.associations": {
        "*.sql": "jinja-sql"
    },

About

This extension makes vscode seamlessly work with dbt.

License:MIT License


Languages

Language:TypeScript 92.3%Language:JavaScript 3.8%Language:HTML 3.2%Language:CSS 0.8%