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 and --full-refresh 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.
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
Latest Release: 0.40.4
Remove downstream flag from runWholetPipeline command.
Recent Updates
0.40.3: Added support for emr_serverless.spark type in asset yaml schema.
0.40.2: Displayed connection name in QueryPreview.
0.40.1: Implement debounce mechanism for rendering command in BruinPanel.
0.40.0: Enable adding, removing, and editing custom checks in asset columns.
0.39.8: Fix flickering issue, optimize data loading in LineagePanel, and improve cleanup.
0.39.7: Sorted connection types alphabetically and refactored their formatting to use title case.
0.39.6: Added Toggle Folding Command, enabling users to manage custom foldable regions in Bruin directly from the command palette.
0.39.5: Set 'tab-1' as the default tab in QueryPreview and added a reset panel functionality.
0.39.4: Enable state persistence in Query Preview to retain query output when switching between VS Code panels.
0.39.3: Added environment display to the query preview panel, showing the selected environment from the side panel dropdown.
0.39.2: Added expandable cells in Query Preview for long text, with copy support and ESC to close all expanded cells.
0.39.1: Adjust column layout to set primary key as a separate column.
0.39.0: Added primary_key to column data with support for composite primary keys.
0.38.5: Update keybinding display for platforms and remove unused 'value' property in columns checks.
0.38.4: Improved columns checks Dropdown positioning and run button UI on windows.
0.38.3: Replaced markdown-preview auto-lock workaround with a custom preview to fix serialization errors and enable auto-refresh.
0.38.2: Refactored command payload to handle undefined environment values.
0.38.1: Added support for tab label editing via double-click and refactored query data loading to prevent automatic execution on mount.
0.38.0: Added multi-tab support to the QueryPreview component, allowing users to manage multiple query results simultaneously.
0.37.2: Resolved the visibility issue with icons in the Query Preview Panel.
0.37.1: Fixed CustomChecks to correctly recognize 0 as a valid check value instead undefined.
0.37.0: Added search functionality to the Query Preview Panel.
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.