From 04c9c5ac5e962ea81ddfe177d1737e4fdad78c89 Mon Sep 17 00:00:00 2001 From: kasecato Date: Fri, 23 Feb 2024 17:19:57 +0900 Subject: [PATCH] Add #232 that F4 open files --- README.md | 1 + package.json | 9 ++++++++- src/package-with-comment.json | 9 ++++++++- 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 726a5ab..57166a2 100644 --- a/README.md +++ b/README.md @@ -292,6 +292,7 @@ alt+right | shift+cmd+] | Select next tab (Terminal) | ✅ alt+tab | alt+tab | Goto next splitter | ✅ shift+alt+tab | shift+alt+tab | Goto previous splitter | ✅ enter | enter | Open Highlighted File (Explorer) | ✅ +f4 | f4 | Open Highlighted File (Explorer) | ✅ alt+home | cmd+up | Jump to Navigation Bar | ✅ shift+ctrl+c | shift+cmd+c | Copy paths | ✅ diff --git a/package.json b/package.json index 4db0135..2fda922 100644 --- a/package.json +++ b/package.json @@ -1581,7 +1581,14 @@ "mac": "enter", "command": "list.select", "intellij": "Open Highlighted File (Explorer)", - "when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsFolder" + "when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsFolder && !inputFocus" + }, + { + "key": "[F4]", + "mac": "[F4]", + "command": "explorer.openAndPassFocus", + "intellij": "Open Highlighted File (Explorer)", + "when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsFolder && !inputFocus" }, { "key": "enter", diff --git a/src/package-with-comment.json b/src/package-with-comment.json index 4e00d90..f06906d 100644 --- a/src/package-with-comment.json +++ b/src/package-with-comment.json @@ -2027,7 +2027,14 @@ "mac": "enter", "command": "list.select", "intellij": "Open Highlighted File (Explorer)", - "when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsFolder" + "when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsFolder && !inputFocus" + }, + { + "key": "[F4]", + "mac": "[F4]", + "command": "explorer.openAndPassFocus", + "intellij": "Open Highlighted File (Explorer)", + "when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsFolder && !inputFocus" }, { "key": "enter",