This extension provides some helpers for your Tinybird data projects:
Adds syntax highlighting for .datasource
, .pipe
and .incl
files.
Also includes autocomplete for the full library of ClickHouse SQL functions.
The Tinybird Sidebar lists all the resources within your data project, including Data Sources, Pipes, and Tokens.
View the flow of data from Data Sources to Endpoints without switching back to the Tinybird UI. Simply open the Command Palette (Cmd+Shift+P
), type Tinybird CLI: Show Data Flow
and hit Enter
. You can drag to navigate and zoom in/out with Ctrl
and your scroll wheel/trackpad.
Find and execute common Tinybird CLI commands from the Command Palette in VS Code. Use Cmd+Shift+P
to open the Command Palette, type Tinybird CLI
and find a list of available commands.
Execute any SQL in your Tinybird workspace by selecting an SQL statement in the editor and pressing the default Cmd+Enter
keybinding (alternatively, you can call the command from the command bar or set your preferred mapping).
You'll see the results in the Tinybird SQL
output panel.
Note: for this command to work you need to have your
tb
command properly configured. Please, refer to our docs for a quick start.
For the Tinybird commands to work, you need to setup the following settings:
tinybird.dataProjectSubdir
: Where your data project is located in the active workspace.tinybird.venv
: If you use a Python virtual env to work with Tinybird, put the venv name here.tinybird.venvActivate
: The activation command for your virtual env (see setting tinybird.venv
). Default is bin/activate
but for some shells you might need another one (for example bin/activate.fish
for the fish shell).If you’re new to Tinybird and want to try it out, you can signup for free here. The Build Plan doesn’t require a credit card and has no time limit.
If you have any questions or want new features in the VS Code Extension, please join our Slack community.