提交 e37de9d1 编写于 作者: B Benjamin Pasero

fix "open to side" not showing up in empty selection menu

上级 f0ba5c8e
......@@ -328,7 +328,7 @@ MenuRegistry.appendMenuItem(MenuId.ExplorerContext, {
group: 'navigation',
order: 10,
command: openToSideCommand,
when: ExplorerFolderContext.toNegated()
when: ContextKeyExpr.and(ExplorerFolderContext.toNegated(), ResourceContextKey.HasResource)
});
MenuRegistry.appendMenuItem(MenuId.ExplorerContext, {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册