vscode nestings.json文件中缺少设置

发布于 2025-02-08 03:25:01 字数 568 浏览 2 评论 0原文

我可以简单地访问(JSON)文件:

  • 打开命令调色板( f1 ctrl + shift> shift + p p < /kbd>)
  • 键入“打开设置”
  • ,然后选择“打开设置”(JSON)的

问题是,当我打开这些设置时,所有显示的选项都包括在内:

    "workbench.colorTheme": "Default Dark+",    
    "python.defaultInterpreterPath": "------------",   
    "terminal.integrated.defaultProfile.windows": "Command Prompt",    
    "workbench.editor.enablePreview": false,

仅此而已,我想通过(JSON)设置更改我的选项。 我什至安装了VIM扩展名,我希望能够在(JSON)文件中自定义它。

有什么建议吗?

I can access the (JSON) file by simply:

  • Open the command palette (either with F1 or Ctrl+Shift+P)
  • Type "open settings"
  • And then choose Open Settings (JSON)

The thing is that when i open those settings all the options presented are these:

    "workbench.colorTheme": "Default Dark+",    
    "python.defaultInterpreterPath": "------------",   
    "terminal.integrated.defaultProfile.windows": "Command Prompt",    
    "workbench.editor.enablePreview": false,

Nothing more, I want to change my option through the (JSON) settings.
I even installed the VIM extension and I would love to be able to customize it in the (JSON) file.

Any suggestions?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

混浊又暗下来 2025-02-15 03:25:01

settings.json默认为空。它仅包含您已修改的设置。

您可以使用CTRL+Shift+P - &GT显示JSON设置的完整列表。 首选项:打开默认设置(JSON)。或者只是从GUI中修改它们。

settings.json is empty by default. It only contains settings that you've modified.

You can show the full list of JSON settings using Ctrl+Shift+P -> Preferences: Open Default Settings (JSON). Or just modify them from the GUI.

晨与橙与城 2025-02-15 03:25:01

JSON文件不仅覆盖什么是默认设置?因此,您放入的任何东西都变成了新的默认值?
(此外,设置可以用于项目工作区或全局,因此您的项目中的文件也是吗?)

Does the json file not just override what is the default setting? so anything you put in there becomes the new default?
(Also, settings can be for a project workspace or global, so is that file in your project?)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文