Highlighting all occurrences of a search string in Eclipse Java editor

后端 未结 3 387
南笙
南笙 2020-12-30 03:37

If you search for a String in Netbeans Java editor, it automatically highlights all occurrences of that string.

But, how can I achieve this feature in Eclipse?

3条回答
  •  有刺的猬
    2020-12-30 04:10

    eclipse instasearch plugin is a very useful plugin for search needs inside eclipse. It is based on lucene. This is also available in eclipse marketplace.

    It has extensive feature set.

    • Instantly shows search results
    • Shows a preview using relevant lines
    • Periodically updates the index
    • Matches partial words (e.g. case in CamelCase)
    • Opens and highlights matches in files
    • Searches JAR source attachments
    • Supports filtering by extension/project/working set

提交回复
热议问题