在 plugin_customization.ini 中找到 eclipse 设置名称进行设置

Find eclipse setting name to set it in plugin_customization.ini(在 plugin_customization.ini 中找到 eclipse 设置名称进行设置)

本文介绍了在 plugin_customization.ini 中找到 eclipse 设置名称进行设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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?

解决方案

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.

这篇关于在 plugin_customization.ini 中找到 eclipse 设置名称进行设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本文标题为:在 plugin_customization.ini 中找到 eclipse 设置名称进行设置

基础教程推荐