打开Window——Preferences
选择Java——Editor——Mark Occurent,右边勾选Mark occurrences of the selected element in the current file
可以看到点击book,下方的book都被深颜色标注了
打开Window——Preferences
选择Java——Editor——Mark Occurent,右边勾选Mark occurrences of the selected element in the current file
可以看到点击book,下方的book都被深颜色标注了