VS Code. How to open JSON settings with defaults

2019-04-02 15:53发布

When I'm opening settings using Preferences: Open Settings (JSON) I'm getting screen like this:

enter image description here

But in VSCode videos/tutorials I see people somehow have splitted window, with default settings on the left and user/workspace setting on the right:

enter image description here

How I can enable it?

===========================

EDIT:

I found "workbench.settings.openDefaultSettings" option and set it to true, but still my UI is different from desired on screenshot above ( I don't see search box for searching settings, also I don't see the message Place your settings in the right ... to override):

enter image description here

2条回答
虎瘦雄心在
2楼-- · 2019-04-02 16:04

Not sure what do you mean by "Default".

steps to open setting by keyboard are:

  1. press Ctrl+p (an input command line would appear at the top.)
  2. press > A List will appear like that in image. (search preference for all vs code settings)

enter image description here

查看更多
孤傲高冷的网名
3楼-- · 2019-04-02 16:12

As mentioned @Juraj Kocan in comments, it happens after last VS Code updates.

This is Github issue related to this new "feature"

This one helped me:

"workbench.settings.useSplitJSON": true,
"workbench.settings.editor": "json",
查看更多
登录 后发表回答