Eclipse 個人使用配置

來源:互聯網
上載者:User

標籤:blog   http   io   os   使用   java   ar   for   檔案   

 

個人最喜歡使用的是eclipse,但是每次有新的版本或者是在不同的電腦上都要一遍一遍的配置。下面收集自己每次用eclipse需要注意配置的地方:

 

  1. 快速鍵只需要修改一個code assitant
  2. 修改顯示line number,
  3. 代碼模板--詳見OneNote
  4. jad源碼反編譯

A.下載JadClipse,http://jadclipse.sourceforge.net/wiki/index.php/Main_Page#Download,注意選擇與eclipse版本一致的版本,我用的是Eclipse3.4,所以選擇下載版本net.sf.jadclipse_3.3.0.jar
    B.下載Jad,http://www.varaneckas.com/jad,下載相應版本
    C.將下載下來的Jadclipse,如net.sf.jadclipse_3.3.0.jar拷貝到Eclipse下的plugins目錄即可。當然也可以用links安裝,不過比較麻煩。
    D.將Jad.exe拷貝到JDK安裝目錄下的bin檔案下(方便,與java,javac等常用命令放在一起,可以直接在控制台使用jad命令),我的機器上的目錄是D:\Program Files\Java\jdk1.6.0_02\bin\jad.exe
    F.然後,重新啟動Eclipse,找到Eclipse->Window->Preferences->Java,此時你會發現會比原來多了一個JadClipse的選項,單擊,會出現,如下:,在Path to decompiler中輸入你剛才放置jad.exe的位置,也可以制定臨時檔案的目錄,。。當然在JadClipse下還有一些子選項,如Debug,Directives等,按照預設配置即可。
    G.基本配置完畢後,我們可以查看一下class檔案的預設開啟檔案,Eclipse->Window->Preferences->General->Editors->File Associations,我們可以看到:
,我們可以看到class檔案的開啟檔案有兩個,JadClipse和Eclipse內建的ClassFile Viewer,而JadClipse是預設的。
    H.全部配置完成,下面我們可以查看源碼了,選擇需要查看的類,按F3即可查看源碼,如查看Annotation中的Target,使用jad查看源碼如下:

4. 安裝Ruby開發外掛程式

radrails - http://download.aptana.com/tools/radrails/plugin/install/radrails-bundle

apatana studio:${p2.metadata.repo.name} - http://download.aptana.com/studio3/plugin/install

 

5.安裝cucumber外掛程式

Xtext All In One - Releases - http://download.eclipse.org/modeling/tmf/xtext/updates/composite/releases/

Update Site - https://raw.github.com/matthewpietal/Eclipse-Plugin-for-Cucumber/master/info.cukes.editor.ide.site_4.x/  (natural)

Update Site - http://cucumber.github.com/cucumber-eclipse/update-site

6.TestNG 外掛程式

Update Site - http://beust.com/eclipse

7.GitHub外掛程式

EGit P2 Repository - http://download.eclipse.org/egit/updates

8.Maven添加libraries,需要在Preference->Maven->Download repository index updates on startup ,然後重新啟動eclipse

9.WindowBuilder :http://www.eclipse.org/windowbuilder/download.php

Eclipse 個人使用配置

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.