Eclipse 高亮显示选中的相同变量

来源:互联网 发布:网络修图兼职 编辑:程序博客网 时间:2024/05/10 15:42

高亮设置:

选择:windows-> preferences->java->Editor->Mark Occurences 

选中Local variables复选框即可。快捷键为:ALT+SHIFT+O。


高亮颜色设置:

在Mark Occurences里点击“Annotations”进入或General-> Editors-> Text Editors-> Annotations,显示出列表,找到 Occurrence annotation 右边可设置高亮Color。 

0 0
原创粉丝点击