## 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
![Eclipse preferences](_images/EclipsePreferences.png)

### Creating `spotless.eclipseformat.xml`
![Eclipse formatter](_images/EclipseFormatter.png)
![Eclipse formatter edit](_images/EclipseFormatterEdit.png)

The Eclipse formatter's off/on tags are a great feature which is often overlooked.
![Eclipse formatter off/on tags](_images/EclipseFormatterEditOffOnTags.png)

### Creating `spotless.importorder`
![Eclipse imports](_images/EclipseImports.png)
