【发布时间】:2018-02-27 01:07:15
【问题描述】:
我一直在 Internet 上寻找在 Eclipse 中建立键绑定以清除控制台的方法,但我还没有找到方法。我该怎么做?
【问题讨论】:
-
stackoverflow.com/questions/1672428/… 的可能重复项。您也可以单击控制台窗口并在窗口上按 shift/F10 然后按 r。不理想,但总比没有好。
标签: eclipse key-bindings
我一直在 Internet 上寻找在 Eclipse 中建立键绑定以清除控制台的方法,但我还没有找到方法。我该怎么做?
【问题讨论】:
标签: eclipse key-bindings
您可以通过using eclipse commands 完成此操作。阅读eclipse commands framework 以创建键绑定。
这里是创建键绑定的语法:
<extension
point="org.eclipse.ui.bindings">
<key
commandId="z.ex.view.keybindings.eatTaco"
contextId="z.ex.view.keybindings.contexts.taco"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="CTRL+3">
</key>
【讨论】: