From 39728cfc59882b9a2df8054e1773a9a1145c26af Mon Sep 17 00:00:00 2001 From: Viktor Zahorodnii Date: Wed, 26 Feb 2025 11:38:22 +0200 Subject: [PATCH] Add docs on keybindings to trigger runnables (#25582) Addresses https://github.com/zed-industries/zed/discussions/22810#discussioncomment-12239661 Release Notes: - N/A --------- Co-authored-by: Kirill Bulatov --- docs/src/tasks.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/src/tasks.md b/docs/src/tasks.md index 03c99eb439..094b463a1c 100644 --- a/docs/src/tasks.md +++ b/docs/src/tasks.md @@ -198,3 +198,7 @@ To tag a task, add the runnable tag name to the `tags` field on the task templat ``` In doing so, you can change which task is shown in the runnables indicator. + +## Keybindings to run tasks bound to runnables + +When you have a task definition that is bound to the runnable, you can quickly run it using [Code Actions](https://zed.dev/docs/configuring-languages?#code-actions) that you can trigger either via `editor: Toggle Code Actions` command or by the `cmd-.`/`ctrl-.` shortcut. Your task will be the first in the dropdown. The task will run immediately if there are no additional Code Actions for this line.