Bruin is a unified analytics platform that enables data professionals to work end-to-end for their data pipelines. This extension is built to improve the development experience of data products on Bruin using Visual Studio Code.
🚀 Key Features
Assets Details viewer
Show and update asset details from the UI.
Renders SQL content within a VS Code Webview.
Copy SQL content with a single click.
Auto-refreshes when the file is updated.
Supports running and validating assets with options like --downstream via checkboxes.
Date inputs for selecting start and end dates for the run command.
Connections Management
Display and manage connections integrated with Bruin CLI.
Add, remove or duplicate connections directly from the UI.
Test exsiting connections to ensure their validity.
Bruin Settings
The Settings tab in the side panel provides a straightforward way to install and update the Bruin CLI.
Access Bruin documentation or view system information with a single click.
Asset Lineage
View and interact with the lineage of assets.
Expand each node to see dependencies and easily access asset files.
Toggle visibility for upstream and downstream assets.
Query Preview Panel
Visualizes query execution results in a new panel.
Displays formatted output for easier analysis.
Supports multi-tab functionality to run different queries separately.
Autocomplete and Snippets
Autocomplete support for .bruin.yml, pipeline.yml, and *.asset.yml files with predefined options and schema validations.
Snippets for creating Bruin root configuration, pipelines, and assets.
Keyboard Shortcuts for Autocomplete
Manual Trigger:
Windows/Linux: Ctrl+Space
Mac: Option+Esc (⌥+Esc)
Auto Trigger: Completions appear automatically when typing : or - followed by a space
💡 Tip: If manual completion doesn't work with the default shortcuts, check your VS Code keyboard shortcuts by going to File > Preferences > Keyboard Shortcuts (or Code > Preferences > Keyboard Shortcuts on Mac) and search for "trigger suggest".
Installation
Open Visual Studio Code.
Navigate to the Extensions view (Ctrl+Shift+X).
Search for "Bruin" and click Install.
Note: Ensure that you have the Bruin CLI installed on your system before using the new features. For guidance on installing the Bruin CLI, please refer to the official documentation.
Release Notes
Recent Update
0.71.5: Removed --full-refresh flag from validation command.
0.71.4: Validation now supports the --full-refresh flag, and will prompt users to update their Bruin CLI if their version does not meet the minimum required for this feature.
0.71.3: Query cost now refreshes when toggling the interval_modifiers checkbox, tag indentation validation has been improved, and SqlEditor now shows processedBytes on query cost hover.
0.71.2: Enhanced QueryPreview with array handling and improved struct formatting.
0.71.0: Added variables overrides management UI to the extension.
0.70.9: Enhanced the ingestr asset UI, including support for custom incremental keys, and introduced column resizing in the query preview.
For a full changelog, see Bruin Extension Changelog.
How to Update
To update to the latest version, search for "Bruin" in the Extensions Marketplace and click the Update button.