Summary: | [organize import] Organize Import causes comment line above imports to be deleted forever. | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Bouchet Stéphane <sbouchet> |
Component: | Core | Assignee: | JDT-Core-Inbox <jdt-core-inbox> |
Status: | VERIFIED DUPLICATE | QA Contact: | |
Severity: | major | ||
Priority: | P3 | CC: | daniel_megert, markus.kell.r, satyam.kandula |
Version: | 3.4 | ||
Target Milestone: | 3.8 M2 | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: |
Description
Bouchet Stéphane
2009-02-04 09:20:13 EST
Organize imports by definition reorders, adds, replaces, and removes imports. I guess it would not help you if it just retained the comments but moved them to an arbitrary location, e.g: import java.util.ArrayList; import java.util.List; // Start of user code for imports // End of user code I guess what you really want is a way to mark a section in the import container which should be touched by Organize Imports. That would be an enhancement request. Moving to JDT/Core. *** This bug has been marked as a duplicate of bug 24804 *** Verified for 3.8M2 using build I20110912-0800 |