Skip to content

Commit

Permalink
Support Run Anything shortcut on double ctrl
Browse files Browse the repository at this point in the history
Add support for Run Anything (https://www.jetbrains.com/help/idea/running-anything.html) on double ctrl to open the Run Task picker.
  • Loading branch information
grgar committed May 28, 2024
1 parent 7cd1502 commit 6fcc183
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ ctrl+f9 | cmd+f9 | Make project (compile modifed and dependent) | ✅
ctrl+shift+f9 | cmd+shift+f9 | Compile selected file, package or module | N/A
alt+shift+f10 | ctrl+alt+r | Select configuration and run | ✅
alt+shift+f9 | ctrl+alt+d | Select configuration and debug | ✅
ctrl ctrl | ctrl ctrl | Run Anything | ✅
shift+f10 | ctrl+r | Run | ✅
shift+f9 | ctrl+d | Debug | ✅
ctrl+shift+f10 | ctrl+shift+r | Run context configuration from editor | N/A
Expand Down
7 changes: 7 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -725,6 +725,13 @@
"command": "workbench.view.debug",
"intellij": "Select configuration and debug"
},
{
"key": "ctrl ctrl",
"mac": "ctrl ctrl",
"command": "workbench.action.tasks.runTask",
"when": "taskCommandsRegistered && !terminalFocus",
"intellij": "Run Anything"
},
{
"key": "shift+f10",
"mac": "ctrl+r",
Expand Down
7 changes: 7 additions & 0 deletions src/package-with-comment.json
Original file line number Diff line number Diff line change
Expand Up @@ -921,6 +921,13 @@
"command": "workbench.view.debug",
"intellij": "Select configuration and debug"
},
{
"key": "ctrl ctrl",
"mac": "ctrl ctrl",
"command": "workbench.action.tasks.runTask",
"when": "taskCommandsRegistered && !terminalFocus",
"intellij": "Run Anything"
},
{
"key": "shift+f10",
"mac": "ctrl+r",
Expand Down

0 comments on commit 6fcc183

Please sign in to comment.