gpt4 book ai didi

windows - VS 代码首选项的位置

转载 作者:可可西里 更新时间:2023-11-01 09:47:05 26 4
gpt4 key购买 nike

当我使用 VS Code 在 Dart 中编码时,我的猫跳到了我的键盘上。结果是编辑器和侧边栏的字体大小都大大增加了。我试过 Ctrl - 无济于事。我无法访问设置,因为大字体无法在设置中导航。

绝望中,我卸载了 VS Code、Flutter 和 Dart。使用管理员帐户 (Win 7) 我下载了所有三个并重新安装。我打开VS Code,发现字体大小恢复了。但是当我将用户切换到我的普通标准用户帐户并打开 VS Code 时,字体大小与我重新安装软件之前一样。这使我相信首选项文件或注册表项已在逐个用户的基础上保留了我的设置。但是这些设置实际存储在哪里。

我通常不使用管理员权限。它们保留用于系统范围的操作。我只是偶然发现了这两个设置。

谢谢,

最佳答案

根据 Microsoft Docs: Settings file locations :

By default VS Code shows the Settings editor, but you can still edit the underlying settings.json file by using the Open Settings (JSON) command or by changing your default settings editor with the workbench.settings.editor setting.

Depending on your platform, the user settings file is located here:

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

The workspace setting file is located under the .vscode folder in your root folder.

Note: In case of a Multi-root Workspace, workspace settings are located inside the workspace configuration file.

根据 Microsoft Docs: Persisted Zoom Level您要查找的条目是:window.zoomLevel

关于windows - VS 代码首选项的位置,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53840644/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com