chat: show Alt key toggle for steer vs queue submit button icon#299225
Merged
connor4312 merged 1 commit intomainfrom Mar 4, 2026
Merged
chat: show Alt key toggle for steer vs queue submit button icon#299225connor4312 merged 1 commit intomainfrom
connor4312 merged 1 commit intomainfrom
Conversation
- When pressing Alt in the chat input, the submit button icon now toggles to match the alternative action (steer ↔ queue), following the standard VS Code pattern. Previously the icon never changed regardless of Alt state. - Fixes the issue where users couldn't visually confirm Alt+Enter would queue instead of steer Fixes #299152 (Commit message generated by Copilot)
aeschli
approved these changes
Mar 4, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the chat execute toolbar’s queue/steer split-button so that holding Alt visibly switches the primary button’s icon (and effective action) between Steer and Queue, aligning with VS Code’s standard “alternative action while Alt is held” pattern and addressing #299152.
Changes:
- Listen to global modifier key state via
ModifierKeyEmitterto detect Alt press/release. - Toggle the primary button’s label/icon/action between “Steer with Message” and “Add to Queue” based on the effective (Alt-inverted) action.
- Update the initial primary button icon to reflect the configured default action (steer vs queue).
You can also share your feedback on Copilot code review. Take the survey.
src/vs/workbench/contrib/chat/browser/widget/input/chatQueuePickerActionItem.ts
Show resolved
Hide resolved
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #299152
(Commit message generated by Copilot)