配置设置位于 VSCode 中的什么位置?

Where do the configuration settings live in VSCode?

我正在学习 python 并想编辑 VSCode 的配置文件来切换所选主题,但我找不到控制配置设置的文件。下面的文件路径是我到目前为止缩小范围的地方:

C:\Users\<Name>\AppData\Local\Programs\Microsoft VS Code

我在 2016 年也遇到过这个话题 https://github.com/Microsoft/vscode/issues/10046 这将我指向这里,尽管我仍在筛选线程 https://github.com/Microsoft/vscode/issues/3884#issuecomment-230912738

这个帖子是2016年的,他们说的新旧版本都不是最新的。

Old Settings: %APPDATA%\Code[ - Variant]\User\settings.json

New Settings: %APPDATA%\Microsoft\[Visual Studio ]Code[ - Variant]\settings.json

涵盖当前用户设置位置in the VS Code docs:

  • Windows: %APPDATA%\Code\User\settings.json
  • macOS:$HOME/Library/Application Support/Code/User/settings.json
  • Linux: $HOME/.config/Code/User/settings.json

(内部人士请使用Code - Insiders