File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/vs/workbench/contrib/snippets/browser Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ registerAction2(class SurroundWithSnippetEditorAction extends EditorAction2 {
134
134
} ) ;
135
135
136
136
export class SurroundWithSnippetCodeActionProvider extends Disposable implements CodeActionProvider , IWorkbenchContribution {
137
- private static readonly codeAction : CodeAction = {
137
+ private static readonly overflowCodeAction : CodeAction = {
138
138
kind : CodeActionKind . Refactor . value ,
139
139
title : options . title . value ,
140
140
command : {
@@ -163,7 +163,7 @@ export class SurroundWithSnippetCodeActionProvider extends Disposable implements
163
163
return {
164
164
actions : snippets . length <= MAX_SNIPPETS_ON_CODE_ACTIONS_MENU
165
165
? snippets . map ( x => makeCodeActionForSnippet ( x , model . uri , range ) )
166
- : [ SurroundWithSnippetCodeActionProvider . codeAction ] ,
166
+ : [ SurroundWithSnippetCodeActionProvider . overflowCodeAction ] ,
167
167
dispose : ( ) => { }
168
168
} ;
169
169
}
You can’t perform that action at this time.
0 commit comments