Eclipse 高亮显示(pydev 编辑 python) 因为是使用pydev编辑的python,所以需要修改(pydev)的属性。 Window->Preferences->General->Editors->Text Editors->Annotations->Occurrences 效果