Eclipse navigate to next/previous marked occurrence

后端 未结 4 1472
故里飘歌
故里飘歌 2020-12-07 13:01

Eclipse has the Mark Occurrences feature where it highlights all occurrences of a selected variable/method. Is there a way to navigate to next or previous marked occurrence?

4条回答
  •  半阙折子戏
    2020-12-07 13:43

    To skip between highlighted occurrences only, try the following:

    • Above the editor Window, select the down arrow next to the next annotation button.

      Button location

    • Adjust the selection so that only "Occurrences" is marked.

    Now, when you click on an item to highlight it, you can skip forwards and backwards to other occurrences using Ctrl+(comma) and Ctrl+(period).

提交回复
热议问题