Skip to content

Commit c9ea023

Browse files
committed
💄 Improve field name for "Surround With Snippet" overflow code action
Signed-off-by: Babak K. Shandiz <[email protected]>
1 parent 191d745 commit c9ea023

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/vs/workbench/contrib/snippets/browser/surroundWithSnippet.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ registerAction2(class SurroundWithSnippetEditorAction extends EditorAction2 {
134134
});
135135

136136
export class SurroundWithSnippetCodeActionProvider extends Disposable implements CodeActionProvider, IWorkbenchContribution {
137-
private static readonly codeAction: CodeAction = {
137+
private static readonly overflowCodeAction: CodeAction = {
138138
kind: CodeActionKind.Refactor.value,
139139
title: options.title.value,
140140
command: {
@@ -163,7 +163,7 @@ export class SurroundWithSnippetCodeActionProvider extends Disposable implements
163163
return {
164164
actions: snippets.length <= MAX_SNIPPETS_ON_CODE_ACTIONS_MENU
165165
? snippets.map(x => makeCodeActionForSnippet(x, model.uri, range))
166-
: [SurroundWithSnippetCodeActionProvider.codeAction],
166+
: [SurroundWithSnippetCodeActionProvider.overflowCodeAction],
167167
dispose: () => { }
168168
};
169169
}

0 commit comments

Comments
 (0)