java文件的设置"Window"-"preferences"-"Java"-"Editor"-"Mark Occurrences"复选框勾选 js文件的设置"Window"-"preferences"-"web"-"javascript"-"Mark Occurrences"复选框勾选 出自:http://xixian.iteye.com/blog/763704