在 MyEclipse 2015 中編輯 HTML/JSP 檔案時,游標放在起始標籤(如 <div>)上,對應的結束標籤(</div>)不會自動高亮顯示,影響程式碼閱讀與結構辨識。
Window → Preferences(Windows/Linux)或 MyEclipse → Preferences(macOS)。Java → Editor → Mark Occurrences(標記出現處)。Apply and Close 套用設定。設定完成後,將游標置於任一 HTML 起始或結束標籤上,其配對標籤會以預設高亮色(通常為淡灰或淡藍背景)同時亮起,方便快速定位標籤配對關係。
General → Editors → File Associations,確保 *.html、*.jsp 關聯至 HTML Editor 或 JSP Editor。General → Appearance → Colors and Fonts → Java → Occurrences 中自訂。