Skip to content

Commit a17fb44

Browse files
authored
Code Action Widget bugfix (items not showing up) microsoft#158129
bux fix on code actions not showing up
1 parent c460a60 commit a17fb44

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/vs/editor/contrib/codeAction/browser/codeActionMenu.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,7 @@ export class CodeActionMenu extends Disposable implements IEditorContribution {
384384
} else if (optionKind === CodeActionMenu.documentationID) {
385385
documentationGroup.push(item);
386386
} else {
387+
// Pushes all the other actions to the "Other" group
387388
otherGroup.push(item);
388389
}
389390

@@ -418,6 +419,9 @@ export class CodeActionMenu extends Disposable implements IEditorContribution {
418419

419420
} else if (firstAction === CodeActionMenu.documentationID) {
420421
totalActionEntries.push(...entry);
422+
} else {
423+
// Takes and flattens all the `other` actions
424+
menuEntriesToPush(localize('codeAction.widget.id.more', 'More Actions...'), entry);
421425
}
422426
} else {
423427
// case for separator - not a code action action

0 commit comments

Comments
 (0)