Skip to content

Commit

Permalink
Fixed Ctrl+Shift+Numpad (- and +) should perform "Fold all" & "Expand… (
Browse files Browse the repository at this point in the history
#41)

* Fixed Ctrl+Shift+Numpad (- and +) should perform "Fold all" & "Expand all" #38

* update readme
  • Loading branch information
Keisuke KATO authored Nov 30, 2016
1 parent 5e6127d commit 326068f
Show file tree
Hide file tree
Showing 4 changed files with 186 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log

## 0.2.4 (November 30, 2016)

* enhancement - Ctrl+Shift+Numpad (- and +) should perform "Fold all" & "Expand all". See [#38](https://github.com/k--kato/vscode-intellij-idea-keybindings/issues/38).

## 0.2.3 (November 29, 2016)

* enhancement - alt+1 should toggle close corresponding tool window instead of just opening. See [#36](https://github.com/k--kato/vscode-intellij-idea-keybindings/issues/36).
Expand Down
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,13 @@ ctrl+shift+[ | cmd+shift+[ | Select till code block start | N/A
ctrl+delete | alt+delete | Delete to word end | ✅
ctrl+backspace | alt+backspace | Delete to word start | ✅
ctrl+= | cmd+= | Expand code block | ✅
ctrl+numpad_add | cmd+numpad_add | Expand code block | ✅
ctrl+- | cmd+- | Collapse code block | ✅
ctrl+numpad_subtract | cmd+numpad_subtract | Collapse code block | ✅
ctrl+shift+= | cmd+shift+= | Expand all | ✅
ctrl+shift+numpad_add | cmd+shift+numpad_add | Expand all | ✅
ctrl+shift+- | cmd+shift+- | Collapse all | ✅
ctrl+shift+numpad_subtract | cmd+shift+numpad_subtract | Collapse all | ✅
ctrl+f4 | cmd+w | Close active editor tab | ✅
alt+j | ctrl+g | Add selection for Next Occurrence | ✅
alt+shift+j | ctrl+shift+g | Unselect Occurrence | ✅
Expand Down Expand Up @@ -189,14 +193,23 @@ ctrl+j | cmd+j | Insert Live Template | N/A
Linux, Windows | macOS | Feature | Supported
---------------|------|---------|----------
alt+0 | cmd+0 | Activate Messages window (Problems) | ✅
alt+numpad0 | cmd+numpad0 | Activate Messages window (Problems) | ✅
alt+1 | cmd+1 | Open corresponding tool window (Explorer) | ✅
alt+numpad1 | cmd+numpad1 | Open corresponding tool window (Explorer) | ✅
alt+1 | cmd+1 | Close corresponding tool window (Explorer) | ✅
alt+numpad1 | cmd+numpad1 | Close corresponding tool window (Explorer) | ✅
alt+3 | cmd+3 | Open corresponding tool window (Search) | ✅
alt+numpad3 | cmd+numpad3 | Open corresponding tool window (Search) | ✅
alt+3 | cmd+3 | Close corresponding tool window (Search) | ✅
alt+numpad3 | cmd+numpad3 | Close corresponding tool window (Search) | ✅
alt+5 | cmd+5 | Open corresponding tool window (Debug) | ✅
alt+numpad5 | cmd+numpad5 | Open corresponding tool window (Debug) | ✅
alt+5 | cmd+5 | Close corresponding tool window (Debug) | ✅
alt+numpad5 | cmd+numpad5 | Close corresponding tool window (Debug) | ✅
alt+9 | cmd+9 | Open corresponding tool window (Git) | ✅
alt+numpad9 | cmd+numpad9 | Open corresponding tool window (Git) | ✅
alt+9 | cmd+9 | Close corresponding tool window (Git) | ✅
alt+numpad9 | cmd+numpad9 | Close corresponding tool window (Git) | ✅
ctrl+s | cmd+s | Save all | ✅
ctrl+alt+y | cmd+alt+y | Synchronize | ✅
ctrl+alt+f | ctrl+cmd+f | Toggle full screen mode | ✅
Expand Down
79 changes: 78 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "intellij-idea-keybindings",
"version": "0.2.3",
"version": "0.2.4",
"publisher": "k--kato",
"engines": {
"vscode": "1.7.x"
Expand Down Expand Up @@ -372,24 +372,48 @@
"command": "editor.unfold",
"when": "editorFocus",
"intellij": "Expand code block"
}, {
"key": "ctrl+numpad_add",
"mac": "cmd+numpad_add",
"command": "editor.unfold",
"when": "editorFocus",
"intellij": "Expand code block"
}, {
"key": "ctrl+-",
"mac": "cmd+-",
"command": "editor.fold",
"when": "editorFocus",
"intellij": "Collapse code block"
}, {
"key": "ctrl+numpad_subtract",
"mac": "cmd+numpad_subtract",
"command": "editor.fold",
"when": "editorFocus",
"intellij": "Collapse code block"
}, {
"key": "ctrl+shift+=",
"mac": "cmd+shift+=",
"command": "editor.unfoldAll",
"when": "editorFocus",
"intellij": "Expand all"
}, {
"key": "ctrl+shift+numpad_add",
"mac": "cmd+shift+numpad_add",
"command": "editor.unfoldAll",
"when": "editorFocus",
"intellij": "Expand all"
}, {
"key": "ctrl+shift+-",
"mac": "cmd+shift+-",
"command": "editor.foldAll",
"when": "editorFocus",
"intellij": "Collapse all"
}, {
"key": "ctrl+shift+numpad_subtract",
"mac": "cmd+shift+numpad_subtract",
"command": "editor.foldAll",
"when": "editorFocus",
"intellij": "Collapse all"
}, {
"key": "ctrl+f4",
"mac": "cmd+w",
Expand Down Expand Up @@ -1123,54 +1147,107 @@
"mac": "cmd+0",
"command": "workbench.actions.view.problems",
"intellij": "Activate Messages window (Problems)"
}, {
"key": "alt+numpad0",
"mac": "cmd+numpad0",
"command": "workbench.actions.view.problems",
"intellij": "Activate Messages window (Problems)"
}, {
"key": "alt+1",
"mac": "cmd+1",
"command": "workbench.view.explorer",
"when": "editorFocus",
"intellij": "Open corresponding tool window (Explorer)"
}, {
"key": "alt+numpad1",
"mac": "cmd+numpad1",
"command": "workbench.view.explorer",
"when": "editorFocus",
"intellij": "Open corresponding tool window (Explorer)"
}, {
"key": "alt+1",
"mac": "cmd+1",
"command": "workbench.action.toggleSidebarVisibility",
"when": "!editorFocus",
"intellij": "Close corresponding tool window (Explorer)"
}, {
"key": "alt+numpad1",
"mac": "cmd+numpad1",
"command": "workbench.action.toggleSidebarVisibility",
"when": "!editorFocus",
"intellij": "Close corresponding tool window (Explorer)"
}, {
"key": "alt+3",
"mac": "cmd+3",
"command": "workbench.view.search",
"when": "!searchViewletVisible",
"intellij": "Open corresponding tool window (Search)"
}, {
"key": "alt+numpad3",
"mac": "cmd+numpad3",
"command": "workbench.view.search",
"when": "!searchViewletVisible",
"intellij": "Open corresponding tool window (Search)"
}, {
"key": "alt+3",
"mac": "cmd+3",
"command": "workbench.action.toggleSidebarVisibility",
"when": "searchViewletVisible",
"intellij": "Close corresponding tool window (Search)"
}, {
"key": "alt+numpad3",
"mac": "cmd+numpad3",
"command": "workbench.action.toggleSidebarVisibility",
"when": "searchViewletVisible",
"intellij": "Close corresponding tool window (Search)"
}, {
"key": "alt+5",
"mac": "cmd+5",
"command": "workbench.view.debug",
"when": "!editorFocus",
"intellij": "Open corresponding tool window (Debug)"
}, {
"key": "alt+numpad5",
"mac": "cmd+numpad5",
"command": "workbench.view.debug",
"when": "!editorFocus",
"intellij": "Open corresponding tool window (Debug)"
}, {
"key": "alt+5",
"mac": "cmd+5",
"command": "workbench.action.toggleSidebarVisibility",
"when": "!editorFocus",
"intellij": "Close corresponding tool window (Debug)"
}, {
"key": "alt+numpad5",
"mac": "cmd+numpad5",
"command": "workbench.action.toggleSidebarVisibility",
"when": "!editorFocus",
"intellij": "Close corresponding tool window (Debug)"
}, {
"key": "alt+9",
"mac": "cmd+9",
"command": "workbench.view.git",
"when": "editorFocus",
"intellij": "Open corresponding tool window (Git)"
}, {
"key": "alt+numpad9",
"mac": "cmd+numpad9",
"command": "workbench.view.git",
"when": "editorFocus",
"intellij": "Open corresponding tool window (Git)"
}, {
"key": "alt+9",
"mac": "cmd+9",
"command": "workbench.action.toggleSidebarVisibility",
"when": "!editorFocus",
"intellij": "Close corresponding tool window (Git)"
}, {
"key": "alt+numpad9",
"mac": "cmd+numpad9",
"command": "workbench.action.toggleSidebarVisibility",
"when": "!editorFocus",
"intellij": "Close corresponding tool window (Git)"
}, {
"key": "ctrl+s",
"mac": "cmd+s",
Expand Down
Loading

0 comments on commit 326068f

Please sign in to comment.