Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse: Import+Export actions in "Save Actions" option

It is possible to Import+Export Clean Up setting as xml file at Preferences->Java->Code Style->Clean Up.

I want these setting to be applied on the code each time I save a file.

Unfortunately, when I go to Preferences->Java->Editor->Save Actions I don't have an option to Import+Export Clean Up settings (even though I have the option to configure them manually). Is there a way to Import+Export these settings?

Clarification: My goal is to create Clean Up setting xml that I can share with my team members so that if any of us saves a file these Clean Up settings will be automatically applied on the code.

I am using Eclipse 4.3 Kepler.

like image 716
zvisofer Avatar asked Apr 06 '14 08:04

zvisofer


1 Answers

These settings are included in the Export Preferences but only when you specify 'Export all'.

There does not seem to be any export that just exports these settings.

The settings are stored in the workspace in the file .metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.ui.prefs but again they are mixed in with lots of other settings.

like image 148
greg-449 Avatar answered Sep 21 '22 20:09

greg-449