提交 1fbd1733 编写于 作者: M Matt Bierner

Only enable 'open with' on files

Fixes #106291
上级 a6833ed8
......@@ -428,7 +428,7 @@ MenuRegistry.appendMenuItem(MenuId.ExplorerContext, {
id: OPEN_WITH_EXPLORER_COMMAND_ID,
title: nls.localize('explorerOpenWith', "Open With..."),
},
when: ContextKeyExpr.and(ExplorerRootContext.toNegated(), ExplorerResourceAvailableEditorIdsContext),
when: ContextKeyExpr.and(ExplorerFolderContext.toNegated(), ExplorerResourceAvailableEditorIdsContext),
});
MenuRegistry.appendMenuItem(MenuId.ExplorerContext, {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册