SVN键绑定在Eclipse中不起作用

时间:2010-08-03 19:41:42

标签: eclipse keyboard-shortcuts

我在全新的Windows 7上安装了Eclipse 3.6 64位。 我尝试使用首选项窗口的“键”部分设置一些键绑定,即:

  • Alt + C - 使用SVN提交

  • Alt + U - 使用SVN更新

  • Alt + R - 使用SVN恢复

过去在Windows XP上的Eclipse 3.5 32bit上完美无缺,但它在我最近的设置中无法正常工作。当我导航到“团队”菜单时,快捷方式会出现在上述操作旁边(即Eclipse在“更新到HEAD”旁边写入 Alt + U

有什么建议吗?

2 个答案:

答案 0 :(得分:69)

这可能是由于Eclipse 3.6中的这一重大变化:

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

编辑:

看起来确实如此。见https://bugs.eclipse.org/bugs/show_bug.cgi?id=309074。这是修复:

在“自定义透视图”对话框中,转到“命令组可用性”选项卡,然后选中“团队”和“SVN”。

在Eclipse Mars.2(4.5.2)中,这是在Window-> Perspective-> Customize Perspective ...对话框,“Action Set Availability”选项卡下。 (如果在更改之后它不起作用,请尝试重新启动Eclipse)。 Customize Perspective dialog screenshot

答案 1 :(得分:0)

所有eclipse工作区设置都存储在<eclipse-workspace-name>\.metadata\.plugins\org.eclipse.core.runtime\.settings文件夹中。因此,请尝试将此文件夹从32位Windows XP环境复制到64位Windows 7安装程序。

相关问题