Exporting from & importing into Eclipse There are two files to import/export with Eclipse - one for code formatting and one for import ordering. Opening the preferences Creating spotless.eclipseformat.xml The Eclipse formatter's off/on tags are a great feature which is often overlooked. Creating spotless.importorder