Skip to content

Commit

Permalink
Merge pull request #349 from grgars/hide-active-tool-window
Browse files Browse the repository at this point in the history
Update shift+escape to Hide Active Tool Window
  • Loading branch information
kasecato authored Apr 28, 2024
2 parents 7a9a83c + 2f4dab4 commit 90190ff
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 53 deletions.
7 changes: 1 addition & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,12 +153,7 @@ alt+right | ctrl+right | Go to next editor tab | ✅
N/A | shift+cmd+] | Go to next editor tab | ✅
f12 | f12 | Go back to previous tool window | N/A
escape | escape | Go to editor (from tool window) | N/A
shift+escape | shift+escape | Hide active or last active window (Sidebar) | ✅
shift+escape | shift+escape | Hide active or last active window (Output) | ✅
shift+escape | shift+escape | Hide active or last active window (Problems) | ✅
shift+escape | shift+escape | Hide active or last active window (Debug Console) | ✅
shift+escape | shift+escape | Hide active or last active window (Terminal) | ✅
shift+escape | shift+escape | Hide active or last active window (Panel) | N/A
shift+escape | shift+escape | Hide Active Tool Window | ✅
ctrl+shift+f4 | cmd+shift+f4 | Close active run/messages/find/... tab | N/A
ctrl+shift+' | cmd+shift+' | Maximize Tool Window (Problems, Output, Debug Console, Terminal) | ✅
ctrl+g | cmd+l | Go to line | ✅
Expand Down
23 changes: 8 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -838,31 +838,24 @@
"key": "shift+escape",
"mac": "shift+escape",
"command": "workbench.action.toggleSidebarVisibility",
"when": "!editorFocus && !terminalFocus && !problemFocus && !inDebugRepl",
"intellij": "Hide active or last active window (Sidebar)"
},

{
"key": "shift+escape",
"mac": "shift+escape",
"command": "workbench.actions.view.problems",
"intellij": "Hide active or last active window (Problems)"
"when": "sideBarFocus",
"intellij": "Hide Active Tool Window"
},
{
"key": "shift+escape",
"mac": "shift+escape",
"command": "workbench.debug.action.toggleRepl",
"when": "debuggersAvailable",
"intellij": "Hide active or last active window (Debug Console)"
"command": "workbench.action.toggleAuxiliaryBar",
"when": "auxiliaryBarFocus",
"intellij": "Hide Active Tool Window"
},
{
"key": "shift+escape",
"mac": "shift+escape",
"command": "workbench.action.terminal.toggleTerminal",
"intellij": "Hide active or last active window (Terminal)"
"command": "workbench.action.togglePanel",
"when": "panelFocus",
"intellij": "Hide Active Tool Window"
},


{
"key": "ctrl+shift+'",
"mac": "cmd+shift+'",
Expand Down
40 changes: 8 additions & 32 deletions src/package-with-comment.json
Original file line number Diff line number Diff line change
Expand Up @@ -1079,47 +1079,23 @@
"key": "shift+escape",
"mac": "shift+escape",
"command": "workbench.action.toggleSidebarVisibility",
"when": "!editorFocus && !terminalFocus && !problemFocus && !inDebugRepl",
"intellij": "Hide active or last active window (Sidebar)"
"when": "sideBarFocus",
"intellij": "Hide Active Tool Window"
},
/*
{
"key": "shift+escape",
"mac": "shift+escape",
"command": "workbench.action.output.toggleOutput",
"when": "outputFocus",
"intellij": "Hide active or last active window (Output)"
"command": "workbench.action.toggleAuxiliaryBar",
"when": "auxiliaryBarFocus",
"intellij": "Hide Active Tool Window"
},
*/
{
"key": "shift+escape",
"mac": "shift+escape",
"command": "workbench.actions.view.problems",
"intellij": "Hide active or last active window (Problems)"
"command": "workbench.action.togglePanel",
"when": "panelFocus",
"intellij": "Hide Active Tool Window"
},
{
"key": "shift+escape",
"mac": "shift+escape",
"command": "workbench.debug.action.toggleRepl",
"when": "debuggersAvailable",
"intellij": "Hide active or last active window (Debug Console)"
},
{
"key": "shift+escape",
"mac": "shift+escape",
"command": "workbench.action.terminal.toggleTerminal",
"intellij": "Hide active or last active window (Terminal)"
},
/*
{
"key": "shift+escape",
"mac": "shift+escape",
"command": "",
"when": "panelVisible",
"intellij": "Hide active or last active window (Panel)",
"todo": "not support panelVisible VS Code #14779"
},
*/
/*
{
"key": "ctrl+shift+f4",
Expand Down

0 comments on commit 90190ff

Please sign in to comment.