Skip to content

Commit 704e0d2

Browse files
committed
Fixes microsoft#135898 by adding enumDescriptions.
1 parent 3d81709 commit 704e0d2

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/vs/editor/common/config/editorOptions.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3401,12 +3401,22 @@ class GuideOptions extends BaseEditorOption<EditorOption.guides, InternalGuidesO
34013401
'editor.guides.bracketPairs': {
34023402
type: ['boolean', 'string'],
34033403
enum: [true, 'active', false],
3404+
enumDescriptions: [
3405+
nls.localize('editor.guides.bracketPairs.true', "Enables bracket pair guides."),
3406+
nls.localize('editor.guides.bracketPairs.active', "Enables bracket pair guides only for the active bracket pair."),
3407+
nls.localize('editor.guides.bracketPairs.false', "Disables bracket pair guides."),
3408+
],
34043409
default: defaults.bracketPairs,
34053410
description: nls.localize('editor.guides.bracketPairs', "Controls whether bracket pair guides are enabled or not.")
34063411
},
34073412
'editor.guides.bracketPairsHorizontal': {
34083413
type: ['boolean', 'string'],
34093414
enum: [true, 'active', false],
3415+
enumDescriptions: [
3416+
nls.localize('editor.guides.bracketPairsHorizontal.true', "Enables horizontal guides as addition to vertical bracket pair guides."),
3417+
nls.localize('editor.guides.bracketPairsHorizontal.active', "Enables horizontal guides only for the active bracket pair."),
3418+
nls.localize('editor.guides.bracketPairsHorizontal.false', "Disables horizontal bracket pair guides."),
3419+
],
34103420
default: defaults.bracketPairsHorizontal,
34113421
description: nls.localize('editor.guides.bracketPairsHorizontal', "Controls whether horizontal bracket pair guides are enabled or not.")
34123422
},

0 commit comments

Comments
 (0)