What
The VS Code shortcuts in src/data/shortcuts.ts currently show macOS key combinations. Add Linux/Windows variants so users on those platforms see the correct shortcuts.
Why
Most developers use Linux or Windows. Showing Cmd+Shift+P when they need Ctrl+Shift+P is confusing.
How
- Open
src/data/shortcuts.ts
- Look at the
VS_CODE_SHORTCUTS collection
- Add
keysLinux? and/or keysWindows? fields to the Shortcut interface
- For each VS Code shortcut, add the Linux/Windows equivalent (usually
Cmd → Ctrl)
- Update the UI to show the right keys based on the user's OS (
navigator.platform)
Reference
VS Code Keyboard Shortcuts
What
The VS Code shortcuts in
src/data/shortcuts.tscurrently show macOS key combinations. Add Linux/Windows variants so users on those platforms see the correct shortcuts.Why
Most developers use Linux or Windows. Showing
Cmd+Shift+Pwhen they needCtrl+Shift+Pis confusing.How
src/data/shortcuts.tsVS_CODE_SHORTCUTScollectionkeysLinux?and/orkeysWindows?fields to theShortcutinterfaceCmd→Ctrl)navigator.platform)Reference
VS Code Keyboard Shortcuts