让eclipse中选中的变量以指定颜色高亮显示

    1.显示:

      1.1、工具栏里有个黄色小笔的图标,点一下就好了       1.2、打开对话框windows->preference,在左上角输入mark Occurrencs 把右边都选上就Ok了。
2.更改颜色:       打开对话框windows->preference,在左上角输入Annotations。选中右边的Occurences可以修改颜色。
原文地址:https://www.cnblogs.com/kungfupanda/p/2986564.html