From 3e0cff03a3b7530a183376bd73f0918d4c2c6756 Mon Sep 17 00:00:00 2001 From: Alex Ross Date: Fri, 13 Dec 2024 16:43:16 +0100 Subject: [PATCH] Follow builtin VSCode behavior by respecting `git.showInlineOpenFileAction` Fixes #6515 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b6dca68923..531447b1e4 100644 --- a/package.json +++ b/package.json @@ -2435,7 +2435,7 @@ { "command": "review.openFile", "group": "inline@0", - "when": "openDiffOnClick && view == prStatus:github && viewItem =~ /filechange(?!:DELETE)/" + "when": "openDiffOnClick && view == prStatus:github && viewItem =~ /filechange(?!:DELETE)/ && config.git.showInlineOpenFileAction" }, { "command": "pr.openDiffView",