Command Palette commands for the Databricks extension for Visual Studio Code

This article lists Command Palette commands for the Databricks extension for Visual Studio Code. See What is the Databricks extension for Visual Studio Code?.

The Databricks extension for Visual Studio Code adds the following commands to the Visual Studio Code Command Palette. See also Command Palette in the Visual Studio Code documentation.

Command

Description

Databricks: Configure autocomplete for Databricks globals

Enables IntelliSense in the Visual Studio Code code editor for PySpark, Databricks Utilities, and related globals such as spark and dbutils. See Enable PySpark and Databricks Utilities code completion for the Databricks extension for Visual Studio Code.

Databricks: Configure cluster

Moves focus to the Command Palette to create, select, or change the Databricks cluster to use for the current project. See Select a cluster for the Databricks extension for Visual Studio Code.

Databricks: Configure sync destination

Moves focus to the Command Palette to create, select, or change the sync destination to use for the current project. See Select a workspace directory for the Databricks extension for Visual Studio Code.

Databricks: Configure workspace

Moves focus to the Command Palette to create, select, or change Databricks authentication details to use for the current project. See Authentication setup for the Databricks extension for VS Code.

Databricks: Create Folder

Creates a new sync destination.

Databricks: Detach cluster

Removes the reference to the Databricks cluster from the current project.

Databricks: Detach sync destination

Removes the reference to the sync destination from the current project.

Databricks: Focus on Clusters View

Moves focus in the Databricks view to the Clusters pane.

This command appears only if the views.cluster experimental feature is enabled. See Settings for the Databricks extension for Visual Studio Code.

Databricks: Focus on Configuration View

Moves focus in the Databricks view to the Configuration pane.

Databricks: Focus on Workspace Explorer View

Moves focus in the Databricks view to the Workspace Explorer pane.

This command appears only if the views.workspace experimental feature is enabled. See Settings for the Databricks extension for Visual Studio Code.

Databricks: Logout

Resets the Databricks view to show the Configure Databricks and Show Quickstart buttons in the Configuration pane. Any content in the current project’s .databricks/project.json file is also reset.

Databricks: Open Databricks configuration file

Opens the Databricks configuration profiles file, from the default location, for the current project. See Authentication setup for the Databricks extension for VS Code.

Databricks: Open full logs

Opens the folder that contains the application log files that the Databricks extension for Visual Studio Code writes to your development machine.

Databricks: Refresh workspace filesystem view

Refreshes the Workspace Explorer pane in the Databricks view.

Databricks: Run File as Workflow on Databricks

Runs a Python file on the cluster.

Databricks: Show Quickstart

Shows the Quickstart file in the editor.

Databricks: Start cluster

Starts the cluster if it is already stopped.

Databricks: Start synchronization

Starts synchronizing the current project’s code to the Databricks workspace. This command performs an incremental synchronization.

Databricks: Start synchronization (full sync)

Starts synchronizing the current project’s code to the Databricks workspace. This command performs a full synchronization, even if an incremental sync is possible.

Databricks: Stop cluster

Stops the cluster if it is already running.

Databricks: Stop synchronization

Stops synchronizing the current project’s code to the Databricks workspace.

Databricks: Upload and Run File on Databricks

Runs a Python file or a notebook as an automated Databricks job within the workspace.