Skip to content
| Marketplace
Sign in
Visual Studio Code>Data Science>Databricks ConnectorHTNew to Visual Studio Code? Get it now.
Databricks ConnectorHT

Databricks ConnectorHT

Harsh Tripathi

|
7 installs
| (0) | Free
Lightweight Databricks extension for browsing workspaces, editing notebooks, and running cells on remote clusters.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Databricks ConnectorHT

A lightweight VS Code extension for connecting to Databricks workspaces — browse files, edit notebooks, and run cells on remote clusters.

Features

  • Workspace Browser — Browse your Databricks workspace files and notebooks from the sidebar
  • Notebook Editor — Open and edit Databricks notebooks natively in VS Code
  • Remote Execution — Run notebook cells on remote Databricks clusters
  • Multi-language Support — Python, SQL, Scala, R, and shell cells
  • Magic Commands — Supports %sql, %python, %scala, %r, %sh prefixes
  • Secure Authentication — Personal Access Token stored securely in OS keychain

Getting Started

Prerequisites

  • A Databricks workspace with a running cluster
  • A Personal Access Token (PAT) from your Databricks workspace

Setup

  1. Install the extension from the VS Code Marketplace
  2. Click the Databricks icon in the Activity Bar (left sidebar)
  3. Run Databricks: Login from the Command Palette (Cmd+Shift+P / Ctrl+Shift+P)
  4. Enter your Databricks host URL (e.g., https://adb-1234567890.azuredatabricks.net)
  5. Enter your Personal Access Token

Usage

  1. Browse Workspace — Use the Databricks sidebar to navigate your workspace files
  2. Open a Notebook — Click any notebook in the workspace tree to open it
  3. Select a Cluster — Run Databricks: Select Cluster to pick a running cluster
  4. Run Cells — Click the run button on any cell to execute it on the remote cluster
  5. Save Back — Run Databricks: Save Notebook to Workspace to save changes back

Supported Cell Languages

Magic Command Language
%python Python
%sql SQL
%scala Scala
%r R
%sh Shell

Commands

Command Description
Databricks: Login Connect to a Databricks workspace
Databricks: Logout Disconnect from the workspace
Databricks: Select Cluster Choose a running cluster for execution
Databricks: Open Notebook Open a notebook from the workspace
Databricks: Save Notebook to Workspace Save the current notebook back to Databricks
Databricks: Refresh Refresh the workspace tree

How to Get a Personal Access Token

  1. Log in to your Databricks workspace
  2. Click your profile icon (top-right) → Settings
  3. Go to Developer → Access Tokens
  4. Click Generate New Token, add a comment, and set expiry
  5. Copy the token — you'll need it during login

Requirements

  • VS Code 1.85 or later
  • Network access to your Databricks workspace

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft