【问题标题】:Eclipse - search in the list of members for Content Assist?Eclipse - 在成员列表中搜索 Content Assist?
【发布时间】:2013-04-07 06:27:25
【问题描述】:

如何在类的成员列表中找到特定的方法。 在 Eclipse 中使用 Content Assist 按 Ctr+Space 后打开。

例如File类的成员列表:

load
close
read
readLine
write
writeLine

如果打开列表,则输入单词"Line": MS VS - 仅显示方法(readLinewriteLine)。 Eclipse - 将关闭成员列表。自找输入词的开头。

Eclispe 可以在成员列表中搜索 MS VS 吗?

【问题讨论】:

    标签: eclipse search member content-assist


    【解决方案1】:

    Java Content Assist preferences 中输入“line”而不是“Line”或禁用驼峰式大小写匹配

    Eclipse 允许高级用户通过将大写字符作为子词开始字符来缩短搜索,例如搜索NPE 将直接显示“NullPointerException”。您可能触发了该搜索,它不再搜索其他子词匹配。

    【讨论】:

    • 大小写无关紧要。一旦我尝试输入要搜索的子字符串。窗户关上了!
    猜你喜欢
    • 2011-06-11
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-09-06
    • 2011-05-05
    • 1970-01-01
    相关资源
    最近更新 更多