【问题标题】:How can I set a key binding in Eclipse for clearing the console?如何在 Eclipse 中设置键绑定以清除控制台?
【发布时间】:2018-02-27 01:07:15
【问题描述】:

我一直在 Internet 上寻找在 Eclipse 中建立键绑定以清除控制台的方法,但我还没有找到方法。我该怎么做?

【问题讨论】:

标签: eclipse key-bindings


【解决方案1】:

您可以通过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>

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2016-09-15
    • 2010-12-12
    • 2012-11-14
    • 2016-02-08
    • 1970-01-01
    • 1970-01-01
    • 2010-10-03
    • 2021-12-10
    相关资源
    最近更新 更多