Can my Eclipse plugin change the settings of other plugins?

I am working on an Eclipse plugin that should change some settings defined by other plugins, for example. tab size in text editors. Is it possible?

+2
source share
1 answer

Yes it is possible.

You will need this on the settings page:

setPreferenceStore( new ScopedPreferenceStore( new InstanceScope(), "bundle-name-of-other-plugin" ) );

Or you can do something like here .

FYI, preferences live here:

pathToWorkspace\.metadata\.plugins\org.eclipse.core.runtime\.settings
+3
source

Source: https://habr.com/ru/post/1723877/


All Articles