Conversation
|
HI @lf- Thank you for tracking this down and submitting a PR. The settings section is actually auto-generated from the in-product defaultSettings.json (Preferences: Open Default Settings (JSON)) so the description fix should be made in the vscode product repo in https://github.com/microsoft/vscode/blob/master/src/vs/editor/common/config/editorOptions.ts. |
|
@gregvanl In that case, I'd say that the current documentation generator is buggy! Although the option should mention in its own description that there are multiple types possible and I should PR that, the documentation generator should emit the docs for both of the cases in the anyOf as defined here: https://github.com/microsoft/vscode/blob/master/src/vs/editor/common/config/editorOptions.ts#L1410 |
|
Hi @lf- Agreed, that sometimes the generator does the right thing, for example with enumerated values (see editor.unusualLineTerminators), but not in the case of |
I had to read the source code to figure out how this property worked. Let me know if there's anywhere else I should improve the documentation of this setting.