Skip to content

Commit 9246087

Browse files
committed
Updatting setting descriptions
1 parent 1f69e11 commit 9246087

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

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

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ const editorConfiguration: IConfigurationNode = {
276276
'editor.wordSeparators': {
277277
'type': 'string',
278278
'default': EDITOR_DEFAULTS.wordSeparators,
279-
'description': nls.localize('wordSeparators', "Characters that will be used as word separators when doing word related navigations or operations")
279+
'description': nls.localize('wordSeparators', "Characters that will be used as word separators when doing word related navigations or operations.")
280280
},
281281
'editor.tabSize': {
282282
'type': 'number',
@@ -418,8 +418,14 @@ const editorConfiguration: IConfigurationNode = {
418418
'editor.wrappingIndent': {
419419
'type': 'string',
420420
'enum': ['none', 'same', 'indent', 'deepIndent'],
421+
enumDescriptions: [
422+
nls.localize('wrappingIndent.none', "No indentation. Wrapped lines begin at column 1."),
423+
nls.localize('wrappingIndent.same', "Wrapped lines get the same indentation as the parent."),
424+
nls.localize('wrappingIndent.indent', "Wrapped lines get +1 indentation toward the parent."),
425+
nls.localize('wrappingIndent.deepIndent', "Wrapped lines get +2 indentation toward the parent."),
426+
],
421427
'default': 'same',
422-
'description': nls.localize('wrappingIndent', "Controls the indentation of wrapped lines. Can be one of 'none', 'same', 'indent' or 'deepIndent'.")
428+
'description': nls.localize('wrappingIndent', "Controls the indentation of wrapped lines."),
423429
},
424430
'editor.mouseWheelScrollSensitivity': {
425431
'type': 'number',
@@ -701,12 +707,12 @@ const editorConfiguration: IConfigurationNode = {
701707
'editor.useTabStops': {
702708
'type': 'boolean',
703709
'default': EDITOR_DEFAULTS.useTabStops,
704-
'description': nls.localize('useTabStops', "Inserting and deleting whitespace follows tab stops")
710+
'description': nls.localize('useTabStops', "Inserting and deleting whitespace follows tab stops.")
705711
},
706712
'editor.trimAutoWhitespace': {
707713
'type': 'boolean',
708714
'default': EDITOR_MODEL_DEFAULTS.trimAutoWhitespace,
709-
'description': nls.localize('trimAutoWhitespace', "Remove trailing auto inserted whitespace")
715+
'description': nls.localize('trimAutoWhitespace', "Remove trailing auto inserted whitespace.")
710716
},
711717
'editor.stablePeek': {
712718
'type': 'boolean',

0 commit comments

Comments
 (0)