[Keymaps] Feature Request : Capture physical keystrokes for keybindings instead of manual text entry
#17.194 aberto em 19 de mar. de 2026
Métricas do repositório
- Stars
- (18.676 stars)
- Métricas de merge de PR
- (Mesclagem média 12d 10h) (73 fundiu PRs em 30d)
Description
Feature Description: The Current State: Currently, when a user wants to assign or change a keybinding in the Keyboard Shortcuts widget, they are required to manually type out the exact string representation of the keys (e.g., typing out "Ctrl+Alt+P"). This introduces UX friction for developers customizing their workspace and leaves room for syntax typos.
The Proposed Enhancement: If there are no hard technical blockers, it would significantly reduce UX friction to adopt a keystroke listener prompt (similar to VS Code and other modern IDEs). When clicking the edit icon, a prompt would say "Press desired key combination and then press Enter", and the UI would capture the physical keyboard events to format the string automatically.
Discussion / Context: I wanted to open a discussion to ask: Was this manual text-entry approach an intentional design choice (perhaps to support complex multi-chord sequences or due to historical browser event constraints), or is this simply an area of the UI that hasn't been updated yet?
I noticed this while testing my recent PR for the widget activation lifecycle (#17088). If the core team agrees this is a valuable enhancement and there are no historical reasons keeping it as text-only, I would be very interested in exploring a PR to implement a keystroke listener!