Skip to content

Commit 503e4bc

Browse files
committed
Adopt implicit activation event collector for commands
1 parent 37243cb commit 503e4bc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/vs/workbench/services/actions/common/menusExtensionPoint.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -662,6 +662,8 @@ commandsExtensionPoint.setHandler(extensions => {
662662
precondition: ContextKeyExpr.deserialize(enablement),
663663
icon: absoluteIcon
664664
}));
665+
666+
extension.implicitActivationEventsCollector.addImplicitActivationEvents([`onCommand:${command}`]);
665667
}
666668

667669
// remove all previous command registrations

0 commit comments

Comments
 (0)