VS Code. How to open JSON settings with defaults

2019-04-02 16:07发布

问题:

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

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:

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):

回答1:

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",


回答2:

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)