Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » change view in compare(change view in compare window)
change view in compare [message #1838658] Wed, 03 March 2021 08:13 Go to next message
Dimitrij young is currently offline Dimitrij youngFriend
Messages: 2
Registered: March 2021
Junior Member
How can I change view (left or right) in compare window with keyboard instead of clicking with mouse ?
Re: change view in compare [message #1838681 is a reply to message #1838658] Wed, 03 March 2021 14:04 Go to previous messageGo to next message
Thomas Wolf is currently offline Thomas WolfFriend
Messages: 374
Registered: August 2016
Senior Member
You can't. :-( There is no key binding defined, and you can't define one because the compare framework doesn't register the command. Which is a bug in Eclipse, not in EGit.

I've created bug 571649 for Platform/Compare for this.
Re: change view in compare [message #1838946 is a reply to message #1838681] Wed, 10 March 2021 07:55 Go to previous messageGo to next message
Thomas Wolf is currently offline Thomas WolfFriend
Messages: 374
Registered: August 2016
Senior Member
This will be fixed in Eclipse 2020-06, due in June. The "Swap Left and Right View" command will show up in Preferences->General->Keys, where the user can define a key binding for it, and it will also show up in Quick Access (Ctrl-3).
Re: change view in compare [message #1839074 is a reply to message #1838946] Fri, 12 March 2021 13:17 Go to previous messageGo to next message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 1178
Registered: July 2009
Senior Member
I guess you meant 2021-06 or did you implement a new time-warp command in jgit :-?
Re: change view in compare [message #1839077 is a reply to message #1839074] Fri, 12 March 2021 13:38 Go to previous messageGo to next message
Thomas Wolf is currently offline Thomas WolfFriend
Messages: 374
Registered: August 2016
Senior Member
Of course. Muscle memory is hard to re-train.
Re: change view in compare [message #1842330 is a reply to message #1838946] Wed, 16 June 2021 15:04 Go to previous messageGo to next message
Dimitrij young is currently offline Dimitrij youngFriend
Messages: 2
Registered: March 2021
Junior Member
Thanks, but this actually swaps the panes. I would just like to jump with the cursor.
Re: change view in compare [message #1842340 is a reply to message #1842330] Wed, 16 June 2021 16:59 Go to previous message
Thomas Wolf is currently offline Thomas WolfFriend
Messages: 374
Registered: August 2016
Senior Member
I don't think that's implemented at all. You'd have to open an enhancement request in bugzilla and then hope that somebody implements that, or provide a change implementing it yourself via Gerrit.
Previous Topic:Using JGit on Kubernetes
Next Topic:Git Staging view not updating on adding/removing files to/from the index
Goto Forum:
  


Current Time: Wed Jun 23 04:53:46 GMT 2021

Powered by FUDForum. Page generated in 0.08709 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top