SVN密钥绑定在Eclipse中不起作用 [英] SVN key bindings not working in Eclipse
问题描述
我尝试使用首选项窗口的Keys部分设置一些键绑定,即:
-
Alt + C - 使用SVN提交
-
Alt + U - 使用SVN更新
-
Alt kbd> R - 使用SVN还原
以前在Eclipse 3.5 32位上完美无缺地运行Windows XP,但它在我最近的设置中不起作用。当我导航到团队菜单时,快捷键确实出现在上述操作的旁边(即Eclipse在更新到HEAD旁边写入 Alt + U
任何建议?
可能是因为这个Eclipse 3.6中的突破性变化:
编辑:
看起来像绝对是请参阅 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:
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屋!