设置"Window"-"preferences"-"Java"-"Editor"-"Mark Occurrences"
复选框勾选Mark occurrences of the selected element in the cruuent file.
如下图所示:

本文介绍如何在Eclipse中设置高亮显示所选元素的功能,通过简单的步骤开启这一特性,使代码阅读更加直观高效。
设置"Window"-"preferences"-"Java"-"Editor"-"Mark Occurrences"
复选框勾选Mark occurrences of the selected element in the cruuent file.
如下图所示:


被折叠的 条评论
为什么被折叠?