SVN key bindings not working in Eclipse

社会主义新天地 提交于 2019-11-27 10:19:22

问题


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?


回答1:


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




回答2:


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.



来源:https://stackoverflow.com/questions/3400185/svn-key-bindings-not-working-in-eclipse

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!