Support mac/linux/windows subkeys in keybindings.json the same as extensions.contributes.keybindings... #45679
Labels
*duplicate
Issue identified as a duplicate of another issue(s)
keybindings
VS Code keybinding issues
Milestone
Issue Type: Feature Request
For users running on multiple machines/platforms, it is common to sync the vs settings. Without support for the default 'key' and override-platform-specific 'windows/mac/linux' subkeys, there's no good way to share keybindings.json.
Keeping multiple copies is a pain to keep in sync; and with the commonality of 'cmd' on Mac in particular, it's hard to have a true common config that works across platforms.
I may be underestimating the work, but it looks like the most tedious/difficult part would be extending the localization of the schema in keybindingservice.ts. :)
There does not seem to be a write model that would need to preserve the original values.
(writeKeybindingItem looked like it might be it, but it's generating very specific formatting for the Default Keybindings window. I guess it could be used by something more general and OS specific bindings would be lost?)
VS Code version: Code 1.21.0 (9a199d7, 2018-03-07T10:54:22.798Z)
OS version: Darwin x64 16.7.0
The text was updated successfully, but these errors were encountered: