Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The Project view of the Databricks IDE extension shows the settings of your Databricks project and lets you change them. You can select the local project folder and the bundle target, choose compute, sync your workspace folder, and set up the Python environment that you need to run and debug code with Databricks Connect.
The Project view shows these settings when the open folder contains a Declarative Automation Bundles project, which has a databricks.yml file. To create or open one, see Create a new Databricks project.
The other views of the extension cover the rest:
- The Connection view shows the workspace that the extension is signed in to. See Connect and authenticate the Databricks IDE extension.
- The Models & AI tools view shows the AI tools for your coding agents. See Install and use AI tools.
- The Resources and Variables groups in the Project view list your bundle's resources and variables. See Bundle and explorer features.
Set the local folder
If the open folder contains more than one bundle project, the Local Folder row in the Project view shows the active one. To use a different project, click Select a Databricks project folder on the Local Folder row.
Install and use AI tools
Important
This feature is in Beta.
The AI tools rows of the Models & AI tools view install AI tools so that your coding agents work effectively with Azure Databricks. The view works with or without a folder open. The extension checks whether AI tools are installed at the global or project scope, including installations that you performed through the Azure Databricks CLI, and updates the displayed status. For more information about AI tools, see Agent skills for AI coding assistants and aitools command group.
To install AI tools:
- In the Models & AI tools view of the extension, click Install AI tools.
- Choose where to install the AI tools: Global, for all of your projects, or Project, for the open folder only.
- Select the coding agents to install the AI tools for. The list shows only the agents that the extension detected and that support the chosen scope.
When AI tools are installed, a green robot icon appears next to AI tools. AI tools automatically update to the latest version. Expand AI tools to see the scope, the version, and the agents. To install AI tools for another agent, click Install AI tools for this agent on the agent's row.

To uninstall AI tools, right-click AI tools and select Uninstall AI tools.
Change the target deployment workspace
To select or switch the deployment target for your Databricks project (for example, to switch from a dev target to a prod target):
In the Project view, click Select a Declarative Automation Bundle target on the Target row.

In the Command Palette, select the target.
The Target row shows the target's Host and deployment Mode. For information about Declarative Automation Bundles deployment modes, see Declarative Automation Bundles deployment modes.
The target decides the workspace. When you select a target in another workspace, the extension switches to a profile for that workspace and shows which profile it chose. To change a target's workspace, change its workspace setting in the project's databricks.yml file. See targets.
Note
The following Databricks IDE extension features are only available when the target deployment mode is development:
- Select compute for running code
- Use the selected cluster for bundle jobs
- Sync workspace folder files
Configure the Databricks profile for the project
The Connection view shows the profile that the extension uses for your project. To use another profile, click Switch profile on the Workspace connection row in the Connection view. See Connect and authenticate the Databricks IDE extension.
Select compute for running code and jobs
Using the Databricks IDE extension, you can select serverless compute, select an existing Azure Databricks cluster, or create a new cluster, for running your code and jobs. The Project view shows the compute on its Serverless or Cluster row. For a cluster, expand the row to see its ID, Databricks Runtime version, creator, state, and access mode. You can also start and stop a cluster, and go to the cluster's page in your workspace.
If you don't select compute for a target, and the target's bundle configuration doesn't name a cluster, runs and Databricks Connect use serverless compute. Upload and Run File needs a cluster, so it isn't available until you select one.
Tip
If you don't want to wait for the jobs cluster to start up, select Override Jobs cluster in bundle below the Cluster row to use the selected cluster for running bundle jobs in development mode. This isn't available if you use serverless compute.
Use serverless
Serverless compute is managed by Azure Databricks. When you run workloads on serverless compute, Azure Databricks automatically allocates and manages the necessary compute resources.
In the Project view, click Select compute, or click Configure compute on the compute row.

In the Command Palette, select Serverless.

Select a serverless environment version.
Use an existing cluster
If you have an existing Azure Databricks cluster that you want to use:
- In the Project view, click Select compute, or click Configure compute on the compute row.
- In the Command Palette, select the cluster that you want to use.
If the cluster is stopped, click Start Compute on the Cluster row to start it. To stop it, click Stop Compute.
Create a new cluster
If you do not have an existing Azure Databricks cluster, or you want to create a new one:
In the Project view, click Select compute, or click Configure compute on the compute row.
In the Command Palette, click Create New Cluster.
When prompted to open the external website (your Azure Databricks workspace), click Open.
If prompted, sign in to your Azure Databricks workspace.
Follow the instructions to create a cluster.
Note
Databricks recommends that you create a Personal Compute cluster. This enables you to start running workloads immediately, minimizing compute management overhead.
After the cluster is created and is running, go back to Visual Studio Code.
In the Project view, click Configure compute on the compute row, and then select the cluster.
To stop using a cluster, run Databricks: Detach compute from the Command Palette. The target keeps no compute, so runs use serverless compute again.
Sync your workspace folder with Databricks
You can sync the remote Azure Databricks workspace folder associated with your Databricks project by clicking the sync icon (Start synchronization) associated with Remote Folder in the Project view of the Databricks extension.
Note
The Databricks IDE extension works only with workspace directories that it creates. You cannot use an existing workspace directory in your project unless it was created by the extension.
To navigate to the workspace view in Databricks, click the external link icon (Open link externally) icon associated with Remote Folder.
The extension determines the Azure Databricks workspace folder to use based on the file_path setting in the workspace mapping of the project's associated bundle configuration. See workspace.
Note
The Databricks IDE extension only performs one-way, automatic synchronization of file changes from your local Visual Studio Code project to the related workspace folder in your remote Azure Databricks workspace. The files in this remote workspace directory are intended to be transient. Do not initiate changes to these files from within your remote workspace, as these changes will not be synchronized back to your local project.
For usage details on the workspace directory sync feature for earlier versions of the Databricks IDE extension, see Select a workspace directory for the Databricks IDE extension.
Start an SSH tunnel
Important
This feature is in Beta.
You can start an SSH tunnel from the Databricks IDE extension to open a remote development session on Azure Databricks compute. This allows you to edit files and run code directly against remote compute from within Visual Studio Code. For more information about connecting to Azure Databricks using an SSH tunnel, see Connect to Databricks using an SSH tunnel.
To start an SSH tunnel, click Start SSH tunnel in the SSH Tunnel view.

Select the compute to connect to:
- Serverless: Connects to serverless compute.
- Serverless GPU 1xA10 or Serverless GPU 8xH100: Connects to serverless GPU compute.
- A cluster: The list shows only your clusters that use dedicated (single-user) access mode.
When you start a tunnel, a new Visual Studio Code instance opens in the same IDE that you are currently using. The remote session opens your home folder (users/username@databricks.com) by default and automatically displays the specific file that you were actively editing. Authentication is pre-configured, so you do not need to sign in again to connect to the remote session.
Set up your Python environment and Databricks Connect
The Python environment rows of the Project view set up your Python virtual development environment and install Databricks Connect for running and debugging code and notebook cells. Python virtual environments make sure that your project is using compatible versions of Python and Python packages.
The extension uses a cluster's Databricks Runtime version or a serverless environment version to build a local .venv whose Python version and package set match the runtime. This avoids the common problem where code works locally but fails on Azure Databricks because of Python or package version differences.
Automated setup requires uv to create and manage the virtual environment. If uv isn't installed, setup stops and offers Install uv, which runs uv's installer in a terminal, and a link to the uv installation guide. You can also run Databricks: Install uv from the Command Palette.
To automatically configure the Python virtual environment for your project, in the Project view of the extension:
- Click Set up Python environment.
- In the Command Palette, select the compute that you want to match.
When setup is done, the row shows Python environment ready.
For an existing project, setup merges its changes into your pyproject.toml and writes a pyproject.toml.bak backup, so you can review or revert the changes. If you later switch compute, the row shows Python environment is out of sync. Click it to re-run setup for the new runtime.
Alternatively, you can use the Databricks CLI databricks environments setup-local command to set up a local environment. This requires uv on your PATH.
databricks environments setup-local --serverless-version 5
For projects that already use pip, Poetry, or conda, the extension shows a step-by-step Python Environment checklist instead of the automated uv setup. To always use the checklist and your own Python environment, run Databricks: Use manual Python environment setup from the Command Palette, or set Python: Environment Setup (databricks.python.environmentSetup) to manual. See Settings for the Databricks IDE extension.
To change the Python environment that the extension uses, click Change Python environment on the Python environment row.
For information about running and debugging code and notebooks with Databricks Connect, see Debug code using Databricks Connect for the Databricks IDE extension.