提交 45716253 编写于 作者: I isidor

copy path command for all elements that have a resource

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