【问题标题】:Eclipse - Yellow highlight and substitution of words with autocompleteEclipse - 黄色突出显示并使用自动完成替换单词
【发布时间】:2021-04-08 06:55:45
【问题描述】:

我在 Debian Buster 中遇到 Eclipse 的问题。

每次我在一个单词附近激活自动完成时,它都会以黄色突出显示,如果我确认完成,它会被替换。

在 Windows 中我没有这个问题;我相信这是一些 Eclipse 设置,但我不知道如何禁用它。

提前致谢。

【问题讨论】:

    标签: eclipse autocomplete highlight


    【解决方案1】:

    在 Eclipse 2020-12 (4.18) 中,Java 内容辅助的默认行为从 Completion Inserts 更改为 Completion Overwrites ,可以在顶部的Window > Preferences: Java > Editor > Content Assist中进行配置。

    另见我的video showing this new default behavior of the content assist and how the old behavior can be restored

    【讨论】:

    • 根据bug #423642,有些人实际上喜欢这种行为。在过去的 6 个月里,我一直认为 Eclipse 在编辑 Java 代码时被破坏了。嘘。 (谢谢你的回答,顺便说一句。)
    猜你喜欢
    • 2013-01-31
    • 1970-01-01
    • 2011-04-11
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-06-10
    • 1970-01-01
    相关资源
    最近更新 更多