前言
Eclipse 的強大在於豐富的外掛生態。本文整理實戰常用外掛,涵蓋 J2EE 開發、XML 編輯、Struts/Spring/Hibernate 整合、資料庫工具、腳本語言支援等,附更新站點 URL,可直接在 Eclipse Update Manager 安裝。
核心開發類
| 外掛名稱 | 用途 | 更新站點 / 官網 |
| MyEclipse | J2EE 全功能整合(JSP/JS/CSS/TLD/DTD 編輯器、EJB、資料庫、應用伺服器) | 商業軟體,myeclipseide.com |
| XMLBuddy | XML 編輯:語法高亮、驗證、DTD/Schema 支援、XSLT 轉換 | https://xmlbuddy.com/ |
| Jalopy | 代碼格式化(商業版 1.2 穩定) | jalopy.sourceforge.net |
| RegEx Tester | 正則表達式測試視圖 | 內建或 regex-test.sourceforge.net |
Web 框架整合
| 外掛 | 框架 | 更新站點 |
| EasyStruts | Struts | https://easystruts.sourceforge.net/eclipse/updates/site.xml |
| Spring IDE | Spring | https://www.springframework.org/spring-ide/eclipse/ |
| Easy Explorer | Struts/通用 | https://easystruts.sourceforge.net/eclipse/updates/site.xml |
| Velocity | Velocity | https://propsorter.sourceforge.net/veloeclipse |
| FreeMarker | FreeMarker | https://www.freemarker.org/eclipse/update |
| Tapestry Palette | Tapestry | https://www.mjhenderson.com/updates |
伺服器與持久層
| 外掛 | 用途 | 更新站點 |
| JBoss-IDE | JBoss 應用伺服器整合、部署、除錯 | https://jboss.sourceforge.net/jbosside/updates |
| Hibernate Synchronizer | Hibernate 映射/DAO 同步生成 | https://www.binamics.com/hibernatesync |
腳本與動態語言
| 外掛 | 語言 | 更新站點 |
| PyDev | Python | https://pydev.sourceforge.net/updates/ |
| EPIC | Perl | https://e-p-i-c.sourceforge.net/updates |
實用小工具
| 外掛 | 功能 | 更新站點 |
| Properties Editor | .properties 文件編輯(支援 Unicode/中文) | https://propedit.sourceforge.jp/eclipse_plugins/3/ |
| Log4E | Log4j 日誌語句快速生成 | https://log4e.jayefem.de/update |
| Spindle | J2EE 專案結構視覺化 | https://spindle.sourceforge.net/updates |
| Easy Explorer | 在 Eclipse 內快速開啟系統檔案總管 | https://easystruts.sourceforge.net/eclipse/updates/site.xml |
安裝提示
- 選單 Help > Software Updates > Find and Install...
- 選 Search for new features to install > Next。
- New Remote Site,輸入上表 URL,命名後 Finish。
- 勾選需安裝的功能,接受授權,完成安裝並重啟。
結語
按需安裝,避免過多外掛拖慢啟動速度。定期檢查更新站點獲取新版本修復與功能增強。