java文件的设置"Window"-"preferences"-"Java"-"Editor"-"Mark Occurrences"复选框勾选 js文件的设 置"Window"-"preferences"-"web"-"javascript"-"Mark Occurrences"复选框勾选 。