Eclipse 选择代码高亮

让eclipse中代码高亮显示 
windows->preferences->java->Editor->Mark Occurences 
打上勾之后选择显示的类型就ok了. 

Eclipse3.4已支持变量高亮功能根据set和get不同语法使用不同颜色区分,但默认的颜色太难看,调整方法记在这里备忘 
Window->Preferences->General->Editors->Annotations->Occurrences 
(写颜色设置在这里的 Write Occurrences).

猜你喜欢

转载自u010837360.iteye.com/blog/2088159
今日推荐