tinybirdco / vscode-tinybird-support

Tinybird support for Visual Studio Code
MIT License
19 stars 3 forks source link
vscode vscode-extension

Tinybird support for Visual Studio Code

Screenshot

This extension provides some helpers for your Tinybird data projects:

Syntax highlighting and autocomplete

Adds syntax highlighting for .datasource, .pipe and .incl files.

Syntax highlighting screenshot

Also includes autocomplete for the full library of ClickHouse SQL functions.

Syntax highlighting screenshot

Navigate your Data Project

The Tinybird Sidebar lists all the resources within your data project, including Data Sources, Pipes, and Tokens.

Sidebar screenshot

View your Data Flow

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.

Data Flow screenshot

Execute common Tinybird commands

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.

Command palette screenshot

Run SQL from within VS Code

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.

tinybird.sql screenshot

Note: for this command to work you need to have your tb command properly configured. Please, refer to our docs for a quick start.

Configure the extension

For the Tinybird commands to work, you need to setup the following settings:

New to Tinybird?

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.