microsoft / microsoft/vscode

Cmd+Delete in inline "Ask a question" hover deletes the last chat turn instead of editing the focused input

Open
#328,266 1 comment 0 reactions 1 assignee Claimed by @justschen View on GitHub
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

Does this issue occur when all extensions are disabled?: Yes

- VS Code Version: 1.131.0
- OS Version: macOS 26.5.2

Steps to Reproduce:

1. Open the Agents window in VS Code.
2. Start a new chat, send a prompt, and wait for a response.
3. Select some text in the assistant reply to show the inline "Ask a question" hover.
4. Type some text into the hover input.
5. Press `Cmd+Delete`.

Expected:
`Cmd+Delete` should apply to the focused inline input (for example, deleting text from the input) and should not trigger a destructive chat action.

Actual:
The text in the hover input remains unchanged, but the most recent prompt/turn in the chat session behind the hover is deleted.

Additional Notes:
This appears to be a focus/keybinding issue in the Agents UI, where `Cmd+Delete` is being handled by the underlying chat session rather than the currently focused inline input.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.