SVN key bindings not working in Eclipse
Asked Answered
A

2

35

I installed Eclipse 3.6 64-bit on a fresh Windows 7. I tried setting some key bindings using the Keys section of the preferences window, namely:

  • Alt + C - commit using SVN

  • Alt + U - update using SVN

  • Alt + R - revert using SVN

It all worked flawlessly in the past on Eclipse 3.5 32bit on Windows XP, but it just doesn't work in my recent setup. When I'm navigating to the 'Team' menu, the shortcuts do appear next to the aforementioned actions (i.e. Eclipse writes Alt + U next to 'Update to HEAD').

Any suggestions?

Armentrout answered 3/8, 2010 at 19:41 Comment(0)
S
73

It may be due to this breaking change in Eclipse 3.6:

http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.platform.doc.isv/porting/3.6/incompatibilities.html?view=co#objectContribution

EDIT:

Looks like it definitely is. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=309074. Here's the fix:

In the "Customize Perspective" dialog, go to the "Command Groups Availability" tab and check "Team" and "SVN".

In Eclipse Mars.2 (4.5.2) this is under Window->Perspective->Customize Perspective... dialog, "Action Set Availability" tab. (Try to restart Eclipse if it doesn't work after you change it). Customize Perspective dialog screenshot

Secund answered 4/9, 2010 at 0:45 Comment(7)
You sir are my hero. Please notice that it is in the "Customize perspective" dialog (there is no "Customize Workspace" dialog).Armentrout
Glad it worked (and you're right - I updated the answer w/ the right dialog name).Secund
Nice, this was also the issue with Eclipse on OSX.Cogswell
Solved the same issue with Eclipse 3.7.1 on Win 7 64 bit.Harhay
The same problem exists on MAC with eclipse 4, and effectively enabling the SVN visibility in Menu made shortcuts work (both if defined in eclipse-shortcuts or in mac 'system preferences' application shortcuts)Dulcinea
Still happening (and still a really helpful answer; thank you) four years later (Win 7 64-bit and Eclipse Luna).Entanglement
Still valid as of April 2016. Confirmed the workaround in Adobe Flash Builder 4.6 (which is based on Eclipse).Leftist
I
0

All eclipse workspace settings are stored in <eclipse-workspace-name>\.metadata\.plugins\org.eclipse.core.runtime\.settings folder. So, try copying this folder from your 32bit Windows XP environment into 64bit Windows 7 setup.

Inhesion answered 7/8, 2010 at 7:15 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.