【问题标题】:Emulate Netbeans behavior in Eclipse在 Eclipse 中模拟 Netbeans 行为
【发布时间】:2017-10-27 20:38:18
【问题描述】:

我目前正在从 Netbeans 切换到 Eclipse。在 Netbeans 中,在出现错误或警告的行上按 Alt+Enter 会弹出一个对话框,其中包含建议的修复。

在 Eclipse 中,可以显示相同的对话框,但我必须将鼠标悬停在错误/警告上。除了让对话保持打开状态外,“焦点”热键似乎没有任何作用。

有没有办法在 Eclipse 中模拟 Netbeans 对话行为?

【问题讨论】:

    标签: eclipse netbeans hotkeys


    【解决方案1】:

    在 Eclipse 中,此功能称为 Quick Fix (Ctrl+1):参见 Eclipse help: Quick Fix and Quick Assist

    快捷键可以在Window > Preferences: General > Keys中改变(默认Alt+Enter绑定到命令属性)。

    【讨论】:

      猜你喜欢
      • 2010-11-20
      • 2014-02-12
      • 2013-10-15
      • 2011-05-02
      • 1970-01-01
      • 2011-04-20
      • 1970-01-01
      • 2016-08-04
      • 1970-01-01
      相关资源
      最近更新 更多