SVN密钥绑定在Eclipse中不起作用 [英] SVN key bindings not working in Eclipse

查看:109
本文介绍了SVN密钥绑定在Eclipse中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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




  • Alt + C - 使用SVN提交


  • Alt + U - 使用SVN更新


  • Alt kbd> R - 使用SVN还原




以前在Eclipse 3.5 32位上完美无缺地运行Windows XP,但它在我最近的设置中不起作用。当我导航到团队菜单时,快捷键确实出现在上述操作的旁边(即Eclipse在更新到HEAD旁边写入 Alt + U



任何建议?

解决方案

可能是因为这个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,如果在更改之后不起作用)。
自定义透视对话框截图


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?

解决方案

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

这篇关于SVN密钥绑定在Eclipse中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆