Java – Eclipse: import and export operations in the “save operation” option

You can import export cleanup settings as XML files in preferences - > java - > code style - > clean up

I want to apply these settings to the code every time I save the file

Unfortunately, when I went to preferences - > java - > editor - > Save actions, I did not select the import export clean up settings (even if I could choose to configure them manually) Is there any way to import or export these settings?

Clarification: my goal is to create cleanup settings XML that I can share with team members so that if any of us save the file, these cleanup settings will be automatically applied to the code

I'm using eclipse 4.3 Kepler

Solution

These settings are included in export preferences, but only when export all is specified

There does not appear to be any export. Only these settings are exported

These settings are stored in a file Metadata / . plugins / org. eclipse. core. runtime / . settings / org. eclipse. jdt. ui. In prefs, but they are mixed with many other settings

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>