提交 1bfb6387 编写于 作者: S Sandeep Somavarapu

#96064 do not show view focus command when not active

上级 6a7d2f52
......@@ -149,6 +149,7 @@ export class ViewsService extends Disposable implements IViewsService {
category: composite ? composite.name : localize('view category', "View"),
menu: [{
id: MenuId.CommandPalette,
when: viewDescriptor.when,
}],
keybinding: {
when: ContextKeyExpr.has(`${viewDescriptor.id}.active`),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册