examples/markdownExamples fields for boolean and enum settings UI #119530
Labels
*duplicate
Issue identified as a duplicate of another issue(s)
settings-editor
VS Code settings editor issues
This is a request to add 'examples' fields for values of boolean and enum extension settings. This would allow an example/preview to be visible in the settings UI, illustrating the current effect of the setting.
In the C/C++ Extension, we have some boolean and enum settings for code formatting. We would like to provide code example for each potential value, to display its effect. This is based on similar behavior in VS.
In VS:
We had planned to create our own UI for editing these settings, using a webView. ( microsoft/vscode-cpptools#5953 ) Though, doing so would introduce a second UI for editing these same settings, which could be confusing for users.
The fields I'm suggesting might look something like:
The examples would be displayed in the settings UI, after the setting, for the selected option. i.e.:
The text was updated successfully, but these errors were encountered: