Find eclipse setting name to set it in plugin_customization.ini

扶醉桌前 提交于 2019-12-29 02:03:15

问题


I want to add some default values for an eclipse plugin delivered as a whole eclipse product through plugin_customization.ini.

If I want by default to have the Build automatically disabled, I write in plugin_customization.ini the folowing line:
org.eclipse.core.resources/description.autobuilding=false

How can I find the org.eclipse..../.../ setting name for disabling the spell checking for example? What about any other setting?


回答1:


The settings are stored in .pref files in the workspace subdirectory .metadata/.plugins/org.eclipse.core.runtime/.settings:

  1. Before starting your application make a copy of the .settings folder
  2. Start your application, change the setting and then exit the application
  3. Compare the current .settings folder with the copied from step 1

In your case, disabling spelling will add the line spellingEnabled=false to org.eclipse.ui.editors.prefs, so the line for plugin_customization.ini you are looking for is org.eclipse.ui.editors/spellingEnabled=false.



来源:https://stackoverflow.com/questions/50021354/find-eclipse-setting-name-to-set-it-in-plugin-customization-ini

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!