problem with import reformat

If there are comments embedded in the imports, reformat imports
quietly discards them.  It should either:

1. preserve them in front of the following import.

2. move them to the top of the imports.

3. move them to the end of the imports.

The problem is a misplaced import can end up quietly discarding
important class comments.
--
Roedy Green Canadian Mind Products
http://mindprod.com

If you tell a computer the same fact in more than one place, unless you have an automated mechanism to ensure           they stay in sync, the versions of the fact will eventually get out of sync.

1 comment

Hello Roedy,
I've created an issue you can check to monitor the progress
http://youtrack.jetbrains.net/issue/IDEA-53436

--
Alexey Kudravtsev
Intellij IDEA developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

"Roedy Green" <see_website@mindprod.com.invalid> wrote in message
news:lgp5r5d1a81h3tm0g9knmkhtvg9qkpeo5n@4ax.com...

If there are comments embedded in the imports, reformat imports
quietly discards them.  It should either:

>

1. preserve them in front of the following import.

>

2. move them to the top of the imports.

>

3. move them to the end of the imports.

>

The problem is a misplaced import can end up quietly discarding
important class comments.
--
Roedy Green Canadian Mind Products
http://mindprod.com

>

If you tell a computer the same fact in more than one place, unless you
have an automated mechanism to ensure           they stay in sync, the
versions of the fact will eventually get out of sync.


0

Please sign in to leave a comment.