You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Enable or disable the rendering of the suggestion preview.
3179
3225
*/
3180
-
showSuggestionPreview?: boolean;
3181
-
/**
3182
-
* Enable or disable the rendering of automatic inline completions.
3183
-
*/
3184
-
showInlineCompletions?: boolean;
3185
-
/**
3186
-
* Enable or disable the default expansion of the ghost text as used
3187
-
* by the suggestion preview or the inline completions.
3188
-
*/
3189
-
ghostTextExpanded?: boolean;
3226
+
preview?: boolean;
3190
3227
/**
3191
3228
* Show details inline with the label. Defaults to true.
3192
3229
*/
@@ -3318,9 +3355,7 @@ class EditorSuggest extends BaseEditorOption<EditorOption.suggest, InternalSugge
3318
3355
shareSuggestSelections: false,
3319
3356
showIcons: true,
3320
3357
showStatusBar: false,
3321
-
showSuggestionPreview: false,
3322
-
ghostTextExpanded: true,
3323
-
showInlineCompletions: false,
3358
+
preview: false,
3324
3359
showInlineDetails: true,
3325
3360
showMethods: true,
3326
3361
showFunctions: true,
@@ -3394,20 +3429,10 @@ class EditorSuggest extends BaseEditorOption<EditorOption.suggest, InternalSugge
3394
3429
default: defaults.showStatusBar,
3395
3430
description: nls.localize('suggest.showStatusBar',"Controls the visibility of the status bar at the bottom of the suggest widget.")
3396
3431
},
3397
-
'editor.suggest.showSuggestionPreview': {
3398
-
type: 'boolean',
3399
-
default: defaults.showSuggestionPreview,
3400
-
description: nls.localize('suggest.showSuggestionPreview',"Controls whether to preview the suggestion outcome in the editor.")
3401
-
},
3402
-
'editor.suggest.showInlineCompletions': {
3403
-
type: 'boolean',
3404
-
default: defaults.showInlineCompletions,
3405
-
description: nls.localize('suggest.showInlineCompletions',"Controls whether to show inline completions in the editor.")
3406
-
},
3407
-
'editor.suggest.ghostTextExpanded': {
3432
+
'editor.suggest.preview': {
3408
3433
type: 'boolean',
3409
-
default: defaults.ghostTextExpanded,
3410
-
description: nls.localize('suggest.ghostTextExpanded',"Controls whether the ghost text that is used by the suggestion preview or the inline completions is expanted by default.")
3434
+
default: defaults.preview,
3435
+
description: nls.localize('suggest.preview',"Controls whether to preview the suggestion outcome in the editor.")
3411
3436
},
3412
3437
'editor.suggest.showInlineDetails': {
3413
3438
type: 'boolean',
@@ -3584,9 +3609,7 @@ class EditorSuggest extends BaseEditorOption<EditorOption.suggest, InternalSugge
0 commit comments