What approach should be to change Eclipse Preferences?
They are stored in <workspace>/.metadata/.plugin/org.eclipse.core.runtime/.settings
But I hope to find Java API and a way to discover any preference ID.
What approach should be to change Eclipse Preferences?
They are stored in <workspace>/.metadata/.plugin/org.eclipse.core.runtime/.settings
But I hope to find Java API and a way to discover any preference ID.
Somewhat confusingly there are several APIs a plugin can use for preferences.
If your plugin activator extends
AbstractUIPlugin
then you can callin the activator to get the preference store for your plugin.
You can also use
to get a slightly different interface to the preferences.
There is also the
org.eclipse.equinox.preferences.preferences
extension point which lets you define an 'initializer' to set the default values for preferences.