Skip to content

Commit 3cc1b64

Browse files
authored
Add next edit suggestions tag to settings and options (microsoft#239476)
@tag:nextEditSuggestions
1 parent 0fb834c commit 3cc1b64

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4315,6 +4315,7 @@ class InlineEditorSuggest extends BaseEditorOption<EditorOption.inlineSuggest, I
43154315
type: 'boolean',
43164316
default: defaults.edits.codeShifting,
43174317
description: nls.localize('inlineSuggest.edits.codeShifting', "Controls whether showing a suggestion will shift the code to make space for the suggestion inline."),
4318+
tags: ['nextEditSuggestions']
43184319
},
43194320
'editor.inlineSuggest.edits.renderSideBySide': {
43204321
type: 'string',
@@ -4325,6 +4326,7 @@ class InlineEditorSuggest extends BaseEditorOption<EditorOption.inlineSuggest, I
43254326
nls.localize('editor.inlineSuggest.edits.renderSideBySide.auto', "Larger suggestions will show side by side if there is enough space, otherwise they will be shown bellow."),
43264327
nls.localize('editor.inlineSuggest.edits.renderSideBySide.never', "Larger suggestions are never shown side by side and will always be shown bellow."),
43274328
],
4329+
tags: ['nextEditSuggestions']
43284330
},
43294331
/* 'editor.inlineSuggest.edits.useMultiLineGhostText': {
43304332
type: 'boolean',

src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/gutterIndicatorMenu.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export class GutterIndicatorMenuContent {
6161
...c.map(c => option(createOptionArgs({ id: c.id, title: c.title, icon: Codicon.symbolEvent, commandId: c.id, commandArgs: c.arguments }))),
6262
separator()
6363
] : []),
64-
option(createOptionArgs({ id: 'settings', title: localize('settings', "Settings"), icon: Codicon.gear, commandId: 'workbench.action.openSettings', commandArgs: ['inlineSuggest.edits'] })),
64+
option(createOptionArgs({ id: 'settings', title: localize('settings', "Settings"), icon: Codicon.gear, commandId: 'workbench.action.openSettings', commandArgs: ['@tag:nextEditSuggestions'] })),
6565
]);
6666
}
6767

0 commit comments

Comments
 (0)