0
点赞
收藏
分享

微信扫一扫

Eclipse开发绑定快捷键

扶摇_hyber 2022-10-17 阅读 175

• 介绍
看到Eclipse里有很多的快捷键,那在开发的插件中怎么添加默认的快捷键呢?


• 扩展点 org.eclipse.ui.bindings
[codesyntax lang="xml"]

<extension name="surenpi.com" point="org.eclipse.ui.bindings">
<key commandId="surenpi.com.dev.plugin.commands.refreshGRECommand"
contextId="org.eclipse.ui.contexts.window" schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="CTRL+F5">
</key>
<key commandId="surenpi.com.dev.plugin.commands.mavenInstallCommand"
contextId="org.eclipse.ui.contexts.window" schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="CTRL+F2">
</key>
</extension>

[/codesyntax]

举报

相关推荐

0 条评论