VS Code extension: Space key acts as Enter on menu items

Resolved 💬 4 comments Opened Apr 13, 2026 by eugenio Closed May 24, 2026

Description

In the Claude Code VS Code extension, pressing the Space key on menu items / list items has the same effect as pressing Enter — it selects/activates the focused item. This causes accidental selections when the user intends to type a space character.

Expected behavior

Space should not activate or select menu items in the extension's UI, or this behavior should be configurable via the extension's settings or keybindings.json.

Current behavior

Both Space and Enter trigger selection/activation on focused menu items and list items within the Claude Code extension UI.

Environment

  • OS: Windows 11 Pro (10.0.26200)
  • VS Code: latest stable
  • Claude Code extension: latest

Notes

  • This appears to stem from VS Code's default list.select / QuickPick keybindings, but since it affects the Claude extension's UX specifically, it would be helpful to have extension-level control over this behavior.
  • There is no existing when clause context to scope a keybinding override to the Claude extension only, so users cannot fix this without affecting all VS Code lists globally.
  • Related (but different): #45209 (keybinding override for Enter doesn't suppress default action).

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗