eclipse/myeclipse高亮显示 处理。

来源:互联网 发布:linux 音乐服务器 编辑:程序博客网 时间:2024/05/30 19:33

在eclipse/myeclipse中变量等的高亮显示配置容易丢掉,可真是件愁人的事,不过看到它你就不用愁咯,一看便会。。。贵在积累

windows-> preferences-> java-> Editor-> Mark Occurences 

最上边的复选框打“√”,下面的就都可以高亮显示了,

Local variables是变量的高亮显示;(常用)

Types 类型高亮显示

Methods 方法高亮显示

Constants 常量高亮显示

Non-contant fields 非常量高亮显示

Expressions throwing a declared exception 表示抛出声明式异常的高亮显示(暂没用过)

Method exits 

Methods implementing an interface

Targets of break and continue statements