重用eclipse中的preference__eclipse

來源:互聯網
上載者:User
You can manager preference in two approaches.
1. export/import preferences
1.1 setting preferences in eclipse
1.2 export preferences
1.3 import preferences


2.using -pluginCustomization arguments 2.1 Find the \configuration\config.ini file. open it, and find the id for the active product(eclipse.product).
For Eclipse the entry will be eclipse.product=org.eclipse.platform.ide. Note that the active product could also
be defined using an invocation parameter. (-product productId)
2.2 Find the branding plug-in for the product. The product value is the concatenation of a plug-in id and
an extension id from that plug-in. Look in the \plugins directory for a plug-in with an id similar to the
product id and see if you can find a file named plugin_customization.ini.
    Feature can alos have a branding plug-in. For Eclipse and many Eclipse-base products the ids are the same,
but the feature.xml file for the product's feature could be identifying an alternate branding plug-in using
the plugin="another.plugin.id.value" attribute for the <feature> element.
2.3 Copy the plugin_customization.ini file to a private location, maybe even your eclipse root directory.
2.4 Add or modify the plugin_customization.ini file content to suite your needs.
2.5 Invoke Eclipse with the approprocate parameter to have your file used at runtime:

eclipse -pluginCustomization file_reference


from The Java Developer's Guide to 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.