-
Notifications
You must be signed in to change notification settings - Fork 29.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sync: Keybindings overwritten after enabling sync between platforms #86011
Comments
Does it overwrote completely or merged it? Because it should merge if possible otherwise it should show you the conflicts. |
Looking closer, I think it merged. There was a keybinding on both platforms for the same command with different keys and that was overwritten (Mac won it seems). This is from looking at the result now. Let me know if that doesn't make sense and I can try to reproduce. |
It merges when the incoming/outgoing changes do not conflict from their base. Please let me know if this is the case or not? |
I enabled sync between platforms for the first time. What's the base in that case? |
When you enabled sync across platforms for the first time ever then its base and remote are null. So local wins and uploaded to remote. |
What if remote has a keybinding for the same command as local when base is null? Should the two keybindings stay or just one of them? Is there a way to reset remote and base to null? |
it shall show conflict in this case. |
This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines. Happy Coding! |
Assigning to May for investigation. |
I am back to it after long time. I have following keybindings.json in Mac
I have following keybindings.json on Windows
@chrmarti Sorry that it is long time back, but May I know if I am missing anything here? |
Not sure if there was anything I did in addition, but even then this has likely been fixed since. I suggest to close the issue. |
Issue Type: Bug
Testing #85941
I had Windows and Mac with different keybindings. After enabling sync between platforms, the Windows keybindings simply overwrote the Mac keybindings.
I'd expect to be asked to merge the two.
VS Code version: Code - Insiders 1.41.0-insider (9785578, 2019-12-03T05:35:54.992Z)
OS version: Darwin x64 18.7.0
System Info
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off
surface_control: disabled_off
surface_synchronization: enabled_on
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off
webgl: enabled
webgl2: enabled
Extensions (30)
(1 theme extensions excluded)
The text was updated successfully, but these errors were encountered: