Highlighting all occurrences of a search string in Eclipse Java editor

后端 未结 3 404
南笙
南笙 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 03:50

    You can enable "Toggle Mark Occurrences" (shortkey is ALT+SHIFT+O).

    For the color of the select text,you can:

    Window->Preferences->General->Editors->Text Editors->Annotations->Occurrences

    Hope it useful.

提交回复
热议问题