Community
Participate
Working Groups
This ist Callisto RC4 on Mac OS X I have a class file with several unused imports. "Organize Imports" removes the unused Imports but leaves the warning markers of the unused imports where they were. A second "Organize Imports" creates a complete mess. More "Organize Imports" are even more creative. See Attachments.
Created attachment 45265 [details] Before Organize Imports
Created attachment 45266 [details] After Organize Imports
Created attachment 45267 [details] After second Organize Imports
Created attachment 45268 [details] After third Organize Imports
You need to save and rebuild your class to see the markers removed. Moving to JDT/UI
I tested again and this time,the markers are removed (without saving). The the things I did between the bug report and this second test is sleeping and rebooting the computer, no development.
Look like the editor didn't call reconcile after the change. It also kept the old AST, resulting in the messed up code.
> It also kept the old AST, resulting in the messed up code. Did you reproduce this?
I just made a guess. Didn't reproduce.
Works for me using 3.2 RC7 and I20060620-1010. Please see also: http://www.eclipse.org/eclipse/platform-text/development/bug-incomplete.htm
Get rid of deprecated state.
.