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.
This page lists extension settings for the Databricks IDE extension. See Databricks IDE extension.
Settings reference
The Databricks IDE extension adds the following settings to Visual Studio Code. Open the Settings editor using the Visual Studio Code Command Palette command Preferences: Open Settings. The settings.json file can also be modified directly.
| Settings editor (Extensions > Databricks) | settings.json |
Description |
|---|---|---|
| Clusters: Only Show Accessible Clusters | databricks.clusters.onlyShowAccessibleClusters |
Checked or set to true to enable filtering for only those clusters that you can run code on.The default is unchecked or false (do not enable filtering for those clusters). |
| Experiments: Opt Into | databricks.experiments.optInto |
Enables or disables experimental features for the extension. Available features include:
|
| Ipython Dir | databricks.ipythonDir |
The absolute path to a directory for storing IPython files. The default is the IPYTHONDIR environment variable if it is set, or ~/.ipython. |
| Override Databricks Config File | databricks.overrideDatabricksConfigFile |
An alternate location for the .databrickscfg file that the extension uses for authentication. |
| Python: Environment Setup | databricks.python.environmentSetup |
Controls the extension's automated Python environment setup. With auto, the default, the extension offers and runs automated setup with uv for suitable projects. With manual, the extension doesn't run automated setup, and uses your own Python interpreter and environment as is. See Set up your Python environment and Databricks Connect. |
| Wsfs: Rearrange Cells | databricks.wsfs.rearrangeCells |
Enable or disable rearranging cells in wrapper files created when using workspace as the sync destination. Databricks recommends keeping this setting enabled. If it is disabled, you will need to manually handle the sys.path for local imports in your notebooks. |
Environment variable definitions files
Visual Studio Code supports environment variable definitions files for Python projects. Create a file with the extension .env, and Visual Studio Code applies the environment variables within this .env file at run time. For more information, see Environment variable definitions file in the Visual Studio Code documentation.
The Databricks IDE extension uses the python.envFile setting for the location of an environment variable definitions file. The default value for this Visual Studio Code setting is {workspaceFolder}/.env, but you can modify it using the Settings editor or in settings.json. These environment variables are only applied when code is run locally.