This page (revision-61) was last changed on 24-Sep-2019 16:53 by Albrecht Striffler

This page was created on 29-Jan-2014 10:44 by Albrecht Striffler

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
61 24-Sep-2019 16:53 11 KB Albrecht Striffler to previous

Page References

Incoming links Outgoing links
IntelliJ FAQ ...nobody

Version management

Difference between version and

At line 5 added one line
!!Import current code styles
At line 7 added 2 lines
At line 40 added 2 lines
!!Sorting of import statements
By default IntelliJ has different order of import statements as Eclipse. To avoid having these change every time a class is edited in the different IDEs, we should adjust the order in IntelliJ. This can be done under Code Style -> Java - > Imports. The order should be:
At line 43 added 11 lines
# import java.*
# <blank line>
# import javax.*
# <blank line>
# import all other imports
# <blank line>
# import cc.denkbar.*
# import com.denkbares.*
# import de.*
# <blank line>
# import static all other imports
At line 55 added 2 lines
The above order will not quite avoid all changes, since Eclipse seems to additionally add blank lines between all all imports with different first path elements, but its close enough.
I think since it is a code style, this should also be part of the code style settings, which are also attached to this site.
At line 58 added one line