Skip to content

Display registered settings groups by extension #126089

@roblourens

Description

@roblourens

The "configuration" extension contribution point can take a single object of setting keys -> definitions or an array of these, each with their own title. Currently the Extensions node in the settings editor TOC shows extension settings by config section with the registered title, mixed up globally and sorted alphabetically. A couple issues with this:

  • Config section titles can be generic and duplicate other sections
    image
  • There is a LESS section that comes from the builtin css-language-features extension, but there is no way to know which extension it came from
  • If an extension registers multiple sections, they are not grouped together and the specified order is ignored. The split json editor handled this correctly.

So I'm thinking we should actually have the extension name as the top node, put the extension sections under that with their given titles and order. This actually makes extension sections much more useful. This is a good start towards giving extensions more control over the presentation of their settings, like discussed in #70589, and we don't have to extend JSON schema to do it.

Metadata

Metadata

Labels

feature-requestRequest for new features or functionalityinsiders-releasedPatch has been released in VS Code Insiderson-release-notesIssue/pull request mentioned in release noteson-testplansettings-editorVS Code settings editor issues

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions