-
Notifications
You must be signed in to change notification settings - Fork 459
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
367 additions
and
266 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
## 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) |
Oops, something went wrong.