Closed
Description
When using commands
workbench.action.compareEditor.focusPrimarySide
workbench.action.compareEditor.focusSecondarySide
workbench.action.compareEditor.focusOtherSide
to switch between sides on diff view, the cursor will be at the position when last focused on that side.
It would be great to have an option to make the cursor to be synced on the same line (or maybe somewhere around if the line doesn't exist) when switching between two sides.
Activity
[-]Add an option to sync cursor when using command "workbench.action.compareEditor.focusOtherSide"[/-][+]Feature Request: Option to sync cursor when using command "workbench.action.compareEditor.focusOtherSide"[/+][-]Feature Request: Option to sync cursor when using command "workbench.action.compareEditor.focusOtherSide"[/-][+]Feature Request: Option to sync cursor when using command `workbench.action.compareEditor.focusOtherSide`[/+]Balastrong commentedon Jul 16, 2022
I'd like to give this a try, I'll submit a PR as soon as I'll have something to share :)
boboRAY commentedon Jul 16, 2022
Thanks @Balastrong!
Looking foward to see your PR 🙂
ashutosh887 commentedon Apr 25, 2023
I'm willing to work on this
hediet commentedon Jul 27, 2023
/duplicate #188284