重用eclipse中的preference

本文详细介绍了如何在Eclipse中管理偏好设置,包括导出/导入偏好、使用插件自定义参数等方法。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值