eclipse外掛程式的安裝方式,例如checkstyle外掛程式

來源:互聯網
上載者:User

eclipse外掛程式的安裝方式有很多比如線上、link等。我使用的是將外掛程式拷貝到dropins檔案夾,讓eclipse或者myeclipse啟動的時候載入進來,

有時候這種方式可能會載入不成功,我們可以手工去添加設定檔(configuration\org.eclipse.equinox.simpleconfigurator\bundles.info)

下面是checkstyle外掛程式的安裝例子,我的版本是6.1.0,可以根據自己下載的版本號碼進行修改

1、首先到checkstyle的官網 (https://sourceforge.net/projects/eclipse-cs/files/?source=navbar)下載你們對應的外掛程式。

2、將檔案解壓放入到dropins檔案夾裡面

3、可以直接開啟eclipse工具看看能不能載入成功,點擊window->preferences,看看是否有以下外掛程式出現。有,則無需進行第四步操作

4、如果沒有載入成功,我們可以進行手工配置負載檔案,開啟工具目錄下的configuration\org.eclipse.equinox.simpleconfigurator\bundles.info檔案進行編輯,

新增內容如下:

net.sf.eclipsecs.branding,6.1.0.201411141422,dropins/checkStyle/plugins/net.sf.eclipsecs.branding_6.1.0.201411141422.jar/,4,false
net.sf.eclipsecs.checkstyle,6.1.0.201411141422,dropins/checkStyle/plugins/net.sf.eclipsecs.checkstyle_6.1.0.201411141422.jar/,4,false
net.sf.eclipsecs.core,6.1.0.201411141422,dropins/checkStyle/plugins/net.sf.eclipsecs.core_6.1.0.201411141422.jar/,4,false
net.sf.eclipsecs.doc,6.1.0.201411141422,dropins/checkStyle/plugins/net.sf.eclipsecs.doc_6.1.0.201411141422.jar/,4,false
net.sf.eclipsecs.ui,6.1.0.201411141422,dropins/checkStyle/plugins/net.sf.eclipsecs.ui_6.1.0.201411141422.jar/,4,false

5、然後重啟工具就可以看到外掛程式了。

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.