[BUG] Extension modifies workspace .settings/vscode without asking
Describe the bug
Every time I'm working in a vscode project that loads the extension (not sure what triggers that specifically), the following lines are added to .settings/vscode:
"jupyter.interactiveWindow.cellMarker.codeRegex": "^# COMMAND ----------|^# Databricks notebook source|^(#\\s*%%|#\\s*\\<codecell\\>|#\\s*In\\[\\d*?\\]|#\\s*In\\[ \\])",
"jupyter.interactiveWindow.cellMarker.default": "# COMMAND ----------",
To Reproduce Steps to reproduce the behavior:
- Load a vscode project that uses/would use the dbx vscode plugin
- View
.settings/vscode. If the jupyter.interactiveWindow.cellMarker configs are there, remove them. - Install the dbx plugin if it's not installed. Otherwise,
Developer: Restart Extension Host - View
.settings/vscodeagain, the configs will have shown back up.
System information:
- Paste the output ot the
Help: Aboutcommand (CMD-Shift-P).
Version: 1.101.2 (Universal)
Commit: 2901c5ac6db8a986a5666c3af51ff804d05af0d4
Date: 2025-06-24T20:27:15.391Z (1 wk ago)
Electron: 35.5.1
ElectronBuildId: 11727614
Chromium: 134.0.6998.205
Node.js: 22.15.1
V8: 13.4.114.21-electron.0
OS: Darwin arm64 24.5.0
- Databricks Extension Version
2.10.1
Databricks Extension Logs N/A
Additional context
I'm working on shared projects which may have .vscode/settings checked in with shared settings. I don't want to assume others are using the dbx extension and don't want to modify the shared settings file. But whenever the extension changes this file, it leaves my working directory dirty.
In general, this extension seems to make strong assumptions about the user's workflow and tends to breaks things outside of it's scope by default. I've reported two other issues along this theme here and here. It may be worth looking at the UX more holistically.