在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