File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
src/vs/editor/contrib/codeAction/browser Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -384,6 +384,7 @@ export class CodeActionMenu extends Disposable implements IEditorContribution {
384
384
} else if ( optionKind === CodeActionMenu . documentationID ) {
385
385
documentationGroup . push ( item ) ;
386
386
} else {
387
+ // Pushes all the other actions to the "Other" group
387
388
otherGroup . push ( item ) ;
388
389
}
389
390
@@ -418,6 +419,9 @@ export class CodeActionMenu extends Disposable implements IEditorContribution {
418
419
419
420
} else if ( firstAction === CodeActionMenu . documentationID ) {
420
421
totalActionEntries . push ( ...entry ) ;
422
+ } else {
423
+ // Takes and flattens all the `other` actions
424
+ menuEntriesToPush ( localize ( 'codeAction.widget.id.more' , 'More Actions...' ) , entry ) ;
421
425
}
422
426
} else {
423
427
// case for separator - not a code action action
You can’t perform that action at this time.
0 commit comments