开发者

SVN key bindings not working in Eclipse

开发者 https://www.devze.com 2023-01-09 21:49 出处:网络
I installed Eclipse 3.6 64-bit on a fresh Windows 7. I tried se开发者_如何学运维tting some key bindings using the Keys section of the preferences window, namely:

I installed Eclipse 3.6 64-bit on a fresh Windows 7. I tried se开发者_如何学运维tting 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?


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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号