History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEA-15398
Type: Bug Bug
Status: Open Open
Assignee: Alexey Kudravtsev
Reporter: Christian Nelson
Votes: 1
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
IDEA: Feedback

"Static Import Method" doesn't format imports well after inserting

Created: 02 Oct 07 20:02   Updated: 04 Jan 08 14:46
Component/s: Editor. Intention Actions

File Attachments: None
Image Attachments:

1. import-formatting-1.jpg
(55 kb)

2. import-formatting-2.jpg
(54 kb)
Environment: Windows 2003

Build: 7,312
Severity: Low


 Description  « Hide
Static imports added using the "Static Import Method" suggestion are munged together on a single line.

Please see attached images.



 All   Comments   Work Log   Change History      Sort Order:
David Beutel - 04 Jan 08 03:32
I've seen the same problem, currently on build 7590 on Windows XP. The munging happens when the class name was not already on the method call (i.e., when I choose a class for the suggestion). The munged lines look separated by import group or package. IntelliJ un-munges them when it adds a class import.

Reorganizing the imports every time is a bad solution, if the solution for IDEADEV-13241 is to make minimal changes.