輕鬆搞定Eclipse配置(一)
作者:fly29(http://blog.csdn.net/fly29)
1.下載安裝eclipse:
可以到官方網站http://www.eclipse.org/downloads/index.php下載eclipse的最新版本,當前爲eclipse3.0.1版,下載好後,將其解壓縮(假設到e:/eclipse)。
2.配置eclipse 插件
常用的插件有:lomboz(jsp,j2ee開發),tomcatplugin(tomcat插件),easystruts(struts開發),emf-sdo-xsd-SDK(EMF MODEL)
配置插件有兩種方法,一是真接將插件釋放到eclipse文件夾,二是寫LINK文件,鏈接,這種方法比較容易管理插件,添加,刪除插件都很方便。下面主要說用第二種方法:將所有下載的插件釋放到同一文件夾下,假設爲e:/eclipse_plugins.以配置tomcatplugin插件爲例:將tomcatplugins釋放到e:/eclipse_plugins下,組織文件夾爲:
e:/eclipse_plugins
|--tomcatpluginV3
|--eclipse
|-plugins(新建,eclipse會自動檢查features和plugins文件夾下的內容)
|---com.sysdeo.eclipse.tomcat_3.0.0
按上面示例,建好之後,回到eclipse文件夾,新建一個links目錄,在該目錄下,新建一個文件tomcat.link(文件名任意),內容爲:path=e:/eclipse_plugins/tomcatPluginV3(讓eclipse自動檢查tomcatpluginV3下的features或plugins文件夾)打開eclipse,即可看到菜單欄上多了tomcat選項。如果不成功,刪除configuration下,除config.ini的所有文件夾,重啓eclipse即可。
e:/eclipse
|--links
|---tomcat.link(配置其它插件時,新建相應的link文件)
以下,附常用插件下載地址
Lombo
http://www.objectlearn.com/
TomcatPlugin
http://www.sysdeo.com/eclipse/tomcatPlugin.html
EasyStruts
http://easystruts.sourceforge.net
VE(visual editor),emf,gef插件
http://download.eclipse.org/tools/ve/downloads/drops/R-1.0.2-200412091401/index.html
Properties Editor 編輯java的屬性文件,並可以自動存盤爲Unicode格式
http://propedit.sourceforge.jp/index_en.html
Colorer Take 爲上百種類型的文件按語法着色
http://colorer.sourceforge.net/
XMLBuddy 編輯xml文件
www.xmlbuddy.com
Code Folding 加入多種代碼摺疊功能(比eclipse自帶的更多)
http://www.coffee-bytes.com/servlet/PlatformSupport
Easy Explorer 從eclipse中訪問選定文件、目錄所在的文件夾
http://easystruts.sourceforge.net/
輕鬆搞定Eclipse配置(二)