Community
Participate
Working Groups
Build Identifier: M20100211-1343 If I have the following at the top of a file: import java.io.File; // This is a comment then go to Source->Organize Imports, the comment disappears. import java.io.File; It also happens if the comment is on a nearby line and also if I press the menu shortcut key. I can't find any workaround without just not organizing imports, but I'm so used to pressing ctrl-shift-o all the time, I'm constantly deleting important stuff at the top of my clients' files. Reproducible: Always Steps to Reproduce: 1. Add line: import java.io.File; // This is a comment 2. Choose menu option: Source->Organize Imports 3. Watch the comment disappear :)
*** This bug has been marked as a duplicate of bug 24804 ***
Verified for 3.8M2 using build I20110912-0800