在eclipse/myeclipse中如果不小心把变量的高亮显示弄丢了。可真是件愁人的事,不过看到这你就不用愁了
windows-> preferences-> java-> Editor-> Mark Occurences
最上边的大标题的复选框勾上,下面的就都可以高亮显示了,Local variables是变量的高亮显示
windows-> preferences-> java-> Editor-> Mark Occurences
最上边的大标题的复选框勾上,下面的就都可以高亮显示了,Local variables是变量的高亮显示
还有其他的一些高亮的
选择:windows-> preferences->java->Editor->Mark Occurences->第一行有个“Annotations”点击进入,显示出列表,找到 Occurrence annotation 右边选择Color即可。