What is the Databricks extension for Visual Studio Code?

To start using the Databricks extension for Visual Studio Code right away, skip ahead to the VSCode extension for Databricks tutorial: Run Python on a cluster and as a job.

The Databricks extension for Visual Studio Code enables you to connect to your remote Databricks workspaces from the Visual Studio Code integrated development environment (IDE) running on your local development machine. Through these connections, you can:

  • Synchronize local code that you develop in Visual Studio Code with code in your remote workspaces.

  • Run local Python code files from Visual Studio Code on Databricks clusters in your remote workspaces.

  • Run local Python code files (.py) and Python, R, Scala, and SQL notebooks (.py, .ipynb, .r, .scala, and .sql) from Visual Studio Code as automated Databricks jobs in your remote workspaces.

Note

The Databricks extension for Visual Studio Code supports running R, Scala, and SQL notebooks as automated jobs but does not provide any deeper support for these languages within Visual Studio Code.

Getting started