在eclipse/myeclipse中不知道怎么搞的,把变量的高亮显示弄丢了。
 
windows-> preferences-> java-> Editor-> Mark Occurences

最上边的大标题的复选框勾上,下面的就都可以高亮显示了,Local variables是变量的高亮显示