[PR #15664] Add support for "Tasks" in the Suggestions UI #30695

Closed
opened 2026-01-31 09:42:23 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/15664

State: closed
Merged: Yes


targets #15027

Adds a new suggestion source, tasks, that allows a user to open the Suggestions UI with sendInput commands saved in their settings. source becomes a flag setting, so it can be combined like so:

        {
            "keys": "ctrl+shift+h", "command": { "action": "suggestions", "source": "commandHistory", "useCommandline":true },
        },
        {
            "keys": "ctrl+shift+y", "command": { "action": "suggestions", "source": "tasks", "useCommandline":false },
        },
        {
            "keys": "ctrl+shift+b", "command": { "action": "suggestions", "source": ["all"], "useCommandline":true },
        },

If a nested command has sendInput commands underneath it, this will build a tree of commands that only include sendInputs as leaves (but leave the rest of the nesting structure intact).

References and Relevant Issues

Closes #1595

See also #13445
As spec'd in #14864

Validation Steps Performed

Tested manually

**Original Pull Request:** https://github.com/microsoft/terminal/pull/15664 **State:** closed **Merged:** Yes --- _targets #15027_ Adds a new suggestion source, `tasks`, that allows a user to open the Suggestions UI with `sendInput` commands saved in their settings. `source` becomes a flag setting, so it can be combined like so: ```json { "keys": "ctrl+shift+h", "command": { "action": "suggestions", "source": "commandHistory", "useCommandline":true }, }, { "keys": "ctrl+shift+y", "command": { "action": "suggestions", "source": "tasks", "useCommandline":false }, }, { "keys": "ctrl+shift+b", "command": { "action": "suggestions", "source": ["all"], "useCommandline":true }, }, ``` If a nested command has `sendInput` commands underneath it, this will build a tree of commands that only include `sendInput`s as leaves (but leave the rest of the nesting structure intact). ## References and Relevant Issues Closes #1595 See also #13445 As spec'd in #14864 ## Validation Steps Performed Tested manually
claunia added the pull-request label 2026-01-31 09:42:23 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#30695