From 6fcc183c6cd185258c55f21b68a19bc3e14865a1 Mon Sep 17 00:00:00 2001 From: George Garside Date: Tue, 28 May 2024 21:29:59 +0100 Subject: [PATCH] Support Run Anything shortcut on double ctrl Add support for Run Anything (https://www.jetbrains.com/help/idea/running-anything.html) on double ctrl to open the Run Task picker. --- README.md | 1 + package.json | 7 +++++++ src/package-with-comment.json | 7 +++++++ 3 files changed, 15 insertions(+) diff --git a/README.md b/README.md index 74c4121..6c7f135 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/package.json b/package.json index a9cd5bb..c27a48a 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/package-with-comment.json b/src/package-with-comment.json index a56baff..6cc6c29 100644 --- a/src/package-with-comment.json +++ b/src/package-with-comment.json @@ -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",