From 7d4a791cde9cf316845ebee2bca824e1db5598b2 Mon Sep 17 00:00:00 2001 From: kasecato Date: Sun, 4 Feb 2018 12:32:40 +0900 Subject: [PATCH] reviewed #107 Open Highlighted File (Explorer) --- CHANGELOG.md | 4 + README.md | 2 + package-lock.json | 2 +- package.json | 662 +--------------------------------- src/package-with-comment.json | 9 +- 5 files changed, 23 insertions(+), 656 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b57d676..73b8137 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## 0.2.20 (Feb 4, 2017) + +* enhancement - Open Highlighted File (Explorer). See [#107](https://github.com/kasecato/vscode-intellij-idea-keybindings/pull/107) + ## 0.2.19 (Feb 1, 2017) * enhancement - Implement ctrl+shift+k shortcut for the git.pushTo command. See [#104](https://github.com/kasecato/vscode-intellij-idea-keybindings/pull/104) diff --git a/README.md b/README.md index c205a00..143e6e2 100644 --- a/README.md +++ b/README.md @@ -254,6 +254,7 @@ alt+left | shift+cmd+[ | Select previous tab (Terminal) | ✅ 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) | ✅ ## Installation @@ -310,6 +311,7 @@ when changes are saved. * [@skysteve](https://github.com/skysteve) * [@spik3s](https://github.com/spik3s) * [@AlexAkhremenko](https://github.com/AlexAkhremenko) +* [@rtconner](https://github.com/rtconner) ## License diff --git a/package-lock.json b/package-lock.json index a293abf..f79dfd9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "intellij-idea-keybindings", - "version": "0.2.18", + "version": "0.2.20", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index c66f53d..102d54e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "intellij-idea-keybindings", - "version": "0.2.19", + "version": "0.2.20", "publisher": "k--kato", "engines": { "vscode": "^1.19.0" @@ -45,9 +45,6 @@ }, "contributes": { "keybindings": [ - - - { "key": "ctrl+space", "mac": "ctrl+space", @@ -55,16 +52,6 @@ "when": "editorHasCompletionItemProvider && editorTextFocus && !editorReadonly", "intellij": "Basic code completion (the name of any class, method or variable)" }, - - - - - - - - - - { "key": "ctrl+shift+enter", "mac": "cmd+shift+enter", @@ -86,26 +73,6 @@ "when": "editorTextFocus", "intellij": "Quick documentation lookup" }, - - - - - - - - - - - - - - - - - - - - { "key": "ctrl+f1", "mac": "cmd+f1", @@ -120,36 +87,6 @@ "when": "!editorTextFocus", "intellij": "Generate code... (Getters, Setters, Constructors, hashCode/equals, toString)" }, - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - { "key": "ctrl+/", "mac": "cmd+/", @@ -192,16 +129,6 @@ "when": "editorTextFocus", "intellij": "Decrease current selection to previous state" }, - - - - - - - - - - { "key": "alt+enter", "mac": "alt+enter", @@ -223,44 +150,6 @@ "when": "editorHasDocumentFormattingProvider && editorHasSelection && editorTextFocus && !editorReadonly", "intellij": "Reformat selected code" }, - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - { "key": "ctrl+x", "mac": "cmd+x", @@ -289,16 +178,6 @@ "when": "editorTextFocus && !editorReadonly", "intellij": "Paste from clipboard" }, - - - - - - - - - - { "key": "ctrl+d", "mac": "cmd+d", @@ -334,36 +213,6 @@ "when": "editorTextFocus && !editorReadonly", "intellij": "Start new line" }, - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - { "key": "ctrl+delete", "mac": "alt+delete", @@ -454,18 +303,6 @@ "when": "editorTextFocus", "intellij": "Unselect Occurrence" }, - - - - - - - - - - - - { "key": "ctrl+f", "mac": "cmd+f", @@ -505,27 +342,6 @@ "command": "workbench.action.replaceInFiles", "intellij": "Replace in path" }, - - - - - - - - - - - - - - - - - - - - - { "key": "alt+f7", "mac": "alt+f7", @@ -533,54 +349,12 @@ "when": "editorHasReferenceProvider && editorTextFocus && !inReferenceSearchEditor", "intellij": "Find usages" }, - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - { "key": "ctrl+f9", "mac": "cmd+f9", "command": "workbench.action.tasks.build", "intellij": "Make project (compile modifed and dependent)" }, - - - - - - - - - { "key": "alt+shift+f10", "mac": "ctrl+alt+r", @@ -593,15 +367,6 @@ "command": "workbench.view.debug", "intellij": "Select configuration and debug" }, - - - - - - - - - { "key": "shift+f9", "mac": "ctrl+d", @@ -609,27 +374,6 @@ "when": "!inDebugMode && !terminalFocus", "intellij": "Debug" }, - - - - - - - - - - - - - - - - - - - - - { "key": "f8", "mac": "f8", @@ -644,16 +388,6 @@ "when": "inDebugMode", "intellij": "Step into" }, - - - - - - - - - - { "key": "shift+f8", "mac": "shift+f8", @@ -672,14 +406,12 @@ "key": "alt+f8", "mac": "alt+f8", "command": "workbench.debug.action.toggleRepl", - "intellij": "Evaluate expression" }, { "key": "alt+f8", "mac": "alt+f8", "command": "editor.debug.action.selectionToRepl", - "when": "editorTextFocus && editorHasSelection", "intellij": "Evaluate expression (selection)" }, @@ -704,9 +436,6 @@ "intellij": "View breakpoints", "todo": "show all debug" }, - - - { "key": "ctrl+n", "mac": "cmd+o", @@ -750,24 +479,6 @@ "command": "workbench.action.nextEditor", "intellij": "Go to next editor tab" }, - - - - - - - - - - - - - - - - - - { "key": "shift+escape", "mac": "shift+escape", @@ -775,15 +486,6 @@ "when": "!editorFocus && !terminalFocus && !problemFocus && !inDebugRepl", "intellij": "Hide active or last active window (Sidebar)" }, - - - - - - - - - { "key": "shift+escape", "mac": "shift+escape", @@ -805,25 +507,6 @@ "when": "terminalFocus", "intellij": "Hide active or last active window (Terminal)" }, - - - - - - - - - - - - - - - - - - - { "key": "ctrl+g", "mac": "cmd+l", @@ -876,25 +559,6 @@ "command": "workbench.action.navigateForward", "intellij": "Navigate forward" }, - - - - - - - - - - - - - - - - - - - { "key": "ctrl+b", "mac": "cmd+b", @@ -931,56 +595,6 @@ "intellij": "Go to type declaration", "todo": "not working" }, - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - { "key": "ctrl+f12", "mac": "cmd+f12", @@ -988,54 +602,6 @@ "when": "editorTextFocus", "intellij": "File structure popup" }, - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - { "key": "f4", "mac": "f4", @@ -1064,52 +630,6 @@ "when": "editorTextFocus && !editorReadonly", "intellij": "Move Statement Up" }, - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - { "key": "ctrl+alt+shift+down", "mac": "ctrl+alt+shift+down", @@ -1124,39 +644,6 @@ "when": "editorTextFocus", "intellij": "Previous Change" }, - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - { "key": "shift+f6", "mac": "shift+f6", @@ -1171,79 +658,6 @@ "when": "explorerViewletVisible && filesExplorerFocus", "intellij": "Rename (File)" }, - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - { "key": "ctrl+k", "mac": "cmd+k", @@ -1264,15 +678,6 @@ "command": "workbench.action.git.sync", "intellij": "Update project from VCS" }, - - - - - - - - - { "key": "ctrl+`", "mac": "ctrl+v", @@ -1280,30 +685,6 @@ "intellij": "‘VCS’ quick popup", "todo": "no popup" }, - - - - - - - - - - - - - - - - - - - - - - - - { "key": "alt+0", "mac": "cmd+0", @@ -1315,20 +696,7 @@ "mac": "cmd+numpad0", "command": "workbench.actions.view.problems", "intellij": "Activate Messages window (Problems)" - }, - { - "key": "enter", - "mac": "enter", - "command": "list.select", - "intellij": "Open Highlighted File (Explorer)", - "when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsFolder" }, - - { - "key": "enter", - "command": "-renameFile", - "when": "explorerViewletVisible && filesExplorerFocus && !inputFocus" - } { "key": "alt+1", "mac": "cmd+1", @@ -1466,24 +834,6 @@ "intellij": "Toggle maximizing editor", "todo": "toggle not working" }, - - - - - - - - - - - - - - - - - - { "key": "ctrl+`", "mac": "ctrl+`", @@ -1521,9 +871,6 @@ "when": "inQuickOpen", "intellij": "Switch between tabs and tool window" }, - - - { "key": "f7", "mac": "f7", @@ -1592,6 +939,13 @@ "command": "workbench.action.focusPreviousGroup", "when": "editorFocus", "intellij": "Goto previous splitter" + }, + { + "key": "enter", + "mac": "enter", + "command": "list.select", + "intellij": "Open Highlighted File (Explorer)", + "when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsFolder" } ] } diff --git a/src/package-with-comment.json b/src/package-with-comment.json index d0394f9..4f17777 100644 --- a/src/package-with-comment.json +++ b/src/package-with-comment.json @@ -1,6 +1,6 @@ { "name": "intellij-idea-keybindings", - "version": "0.2.19", + "version": "0.2.20", "publisher": "k--kato", "engines": { "vscode": "^1.19.0" @@ -1579,6 +1579,13 @@ "command": "workbench.action.focusPreviousGroup", "when": "editorFocus", "intellij": "Goto previous splitter" + }, + { + "key": "enter", + "mac": "enter", + "command": "list.select", + "intellij": "Open Highlighted File (Explorer)", + "when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsFolder" } ] }