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 <kirill@zed.dev>
This commit is contained in:
Viktor Zahorodnii 2025-02-26 11:38:22 +02:00 committed by GitHub
parent ebccef1aa4
commit 39728cfc59
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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. 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.