Skip to content

Commit

Permalink
Only enable 'open with' on files
Browse files Browse the repository at this point in the history
Fixes #106291
  • Loading branch information
mjbvz committed Sep 8, 2020
1 parent a6833ed commit 1fbd173
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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, {
Expand Down

0 comments on commit 1fbd173

Please sign in to comment.