I am trying to set a custom C++ Code Style profile in Eclipse from an external tool. I have found that this is set in the file:
...\.metadata\.plugins\org.eclipse.core.runtime\.settings\org.eclipse.cdt.ui.prefs
and I have managed to add my Code Style profile there.
When I start Eclipse my profile is selected as the active one under Preferences -> C/C++ -> Code Style but still it is not working when I try to do something in the editor. I have to go into the preferences and choose Edit... -> OK on my profile for it to be picked up by Eclipse.
Is there any way I can make Eclipse automatically use my profile on startup?
There is one more file where the Code Style profile has to be present:
...\.metadata\.plugins\org.eclipse.core.runtime\.settings\org.eclipse.cdt.core.prefsOnce this is in place the profile will be active and working on Eclipse startup.