Skip to content

Settings editor should render objects with boolean values a list of checkboxes #125958

@rzhao271

Description

@rzhao271

For settings of type object where all the keys are boolean keys, we should render those settings as a list of checkboxes.

A setting to check this issue with is gitlens.advanced.messages.
Expected behaviour: the settings editor renders that setting as a list of checkboxes.
Actual behaviour: the settings editor does not render that setting. The user must edit that setting in a JSON file.

Code pointer: https://github.com/microsoft/vscode/blob/main/src/vs/workbench/contrib/preferences/browser/settingsTreeModels.ts#L611

CC @roblourens

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalityinsiders-releasedPatch has been released in VS Code Insiderson-release-notesIssue/pull request mentioned in release notessettings-editorVS Code settings editor issuesverification-neededVerification of issue is requestedverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions