Skip to content

Feature Request: Option to sync cursor when using command workbench.action.compareEditor.focusOtherSide #155036

Closed
@boboRAY

Description

@boboRAY

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

changed the title [-]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"[/+] on Jul 13, 2022
changed the title [-]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`[/+] on Jul 13, 2022
added this to the Backlog milestone on Jul 14, 2022
added
help wantedIssues identified as good community contribution opportunities
good first issueIssues identified as good for first-time contributors
on Jul 14, 2022
Balastrong

Balastrong commented on Jul 16, 2022

@Balastrong
Contributor

I'd like to give this a try, I'll submit a PR as soon as I'll have something to share :)

boboRAY

boboRAY commented on Jul 16, 2022

@boboRAY
Author

Thanks @Balastrong!
Looking foward to see your PR 🙂

ashutosh887

ashutosh887 commented on Apr 25, 2023

@ashutosh887

I'm willing to work on this

hediet

hediet commented on Jul 27, 2023

@hediet
Member

/duplicate #188284

modified the milestones: Backlog, July 2023 on Jul 27, 2023
added
verifiedVerification succeeded
*duplicateIssue identified as a duplicate of another issue(s)
and removed
verifiedVerification succeeded
on Jul 27, 2023
locked and limited conversation to collaborators on Sep 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

*duplicateIssue identified as a duplicate of another issue(s)diff-editorDiff editor issuesfeature-requestRequest for new features or functionalitygood first issueIssues identified as good for first-time contributorshelp wantedIssues identified as good community contribution opportunities

Type

No type

Projects

No projects

Relationships

None yet

    Participants

    @rebornix@jrieken@hediet@boboRAY@Balastrong

    Issue actions

      Feature Request: Option to sync cursor when using command `workbench.action.compareEditor.focusOtherSide` · Issue #155036 · microsoft/vscode