查找eclipse设置名称以在plugin_customization.ini中进行设置 [英] Find eclipse setting name to set it in plugin_customization.ini

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

问题描述

我想为通过 plugin_customization.ini 作为整个日食产品交付的日食插件添加一些默认值。

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

如果默认情况下我希望自动禁用 ,我会在 plugin_customization中编写.ini 以下一行:

org.eclipse.core.resources / description.autobuilding = false

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

如何找到 org.eclipse .... / ... / 设置名称,例如,禁用拼写检查?什么其他设置呢?

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

推荐答案

设置保存在 .pref 工作区子目录 .metadata / .plugins / org.eclipse.core.runtime / .settings 中的文件:

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


  1. 在启动应用程序之前,对 .settings 文件夹做副本

  2. 启动您的应用程序,更改设置,然后退出该应用程序

  3. 比较当前的。设置文件夹,其中复制了第一步中的内容

  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

在您的情况下,禁用拼写将在行中添加 spellingEnabled = false org.eclipse.ui.editors.prefs ,因此 plugin_customization.ini 您要查找的是 org.eclipse.ui.editors / spellingEnabled = false

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.

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

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆