Questions tagged «eclipse-jdt»


3
在CDT上安装Eclipse JDT
我已经安装了Eclipse CDT,并且我想在CDT安装之上安装Java开发功能(JDT)。我一个小时以来一直在使用Google搜索功能,但是我不知道该怎么做。 我需要安装什么插件?我需要使用哪个更新站点?

2
如何为快捷菜单添加类似于JDT中“重构”上下文菜单的键绑定?
我想为我的eclipse插件添加一个快捷方式,以显示具有现有绑定的快捷菜单。它应该像JDT中的“重构”快捷菜单一样工作。 JDT中快捷菜单的快捷方式: JDT快速菜单: 我已经添加了绑定和命令,但似乎缺少一些东西。“删除某物”条目也适用于上下文菜单,只是缺少快捷菜单的快捷方式。有人怎么做吗? <extension point="org.eclipse.ui.bindings"> <key commandId="myplugin.refactoring.actions.DeleteSomething" schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" sequence="M1+5"> </key> <key commandId="myplugin.refactoring.quickMenu" schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" sequence="M1+9"> </key> <extension point="org.eclipse.ui.commands"> <command categoryId="myplugin.category.refactor" description="Delete Something" id="myplugin.refactoring.actions.DeleteSomething" name="Extract Method"> </command> <command categoryId="myplugin.category.refactor" id="myplugin.refactoring.quickMenu" name="Show Refactor Quick Menu"> </command> <category id="myplugin.category.refactor" name="Refactor"> </category>
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.