eclipse-theia/theia

[Keymaps] Feature Request : Capture physical keystrokes for keybindings instead of manual text entry

Open

#17194 opened on Mar 19, 2026

View on GitHub
 (3 comments) (0 reactions) (0 assignees)TypeScript (18,676 stars) (2,478 forks)batch import
enhancementhelp wantedkeybindings

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!

Contributor guide