keybindings.json not syncing
See original GitHub issue🐛 Describe the bug
I uploaded my custom VSCode keyboard shortcuts from one computer and tried to use sync settings to download the same keyboard settings onto a second computer. This is what I got on the second computer after sync settings processed.
keybindings.json:
// Place your key bindings in this file to override the defaults
[
]
🌴 Visual Studio Code Version : 1.43.2 🌴 Code Settings Sync Version : 3.4.3 🌴 Standard or Insiders : Standard 🌴 Portable or Installed : Installed 🌴 OSS or Official Build : Official Build 🌴 Operating System : macOS 10.15 Catalina 🌴 Occurs On: Sync 🌴 Proxy Enabled: No 🌴 Gist Id: ca5bac8864a6c00bc671157a3dcd984a
📰 To Reproduce Steps to reproduce the behavior:
- Customize shortcut keys on a Windows computer. For example, remap Control+L to navigate by line number.
- Upload settings to Gist with sync settings plugin.
- On a macOS computer, install the sync settings plugin. Download settings.
- On the mac, open the shortcuts
keybindings.json
file.
💪 Expected behavior
All shortcut settings transferred from the Windows computer to the macOS computer exactly as written in the keybindings.json
shortcuts file on Windows.
I happened to select generic, BM PC compatible keyboard shortcuts for my keybindings.json
file, but I would expect the settings to be preserved across computers even if I chosen Windows-specific shortcuts, or macOS-specific shortcuts, or Linux-specific shortcuts, and so on.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:7
- Comments:9
Top GitHub Comments
This prompted me to test the official settings sync feature in VSCode, which has the setting
"settingsSync.keybindingsPerPlatform"
. When set to false, my keybindings are successfully synced between all my PCs, including my MacBook.I think I just ran into this same issue just now, trying to sync keybindings.json from my macbook to my ubuntu VM, in vscode 1.70. I set “settingsSync.keybindingsPerPlatform”: ‘false’" on both machines, and within a minute or so I had my bindings synced on my Ubuntu VM from my macbook.