Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.5.1Release
-
Fix Version/s: 2.6.0.Release
-
Component/s: Editor, Formatting
-
Labels:None
-
Environment:Eclipse 3.7, mac 10.6, java 1.6.0_24
-
Number of attachments :
Description
Sometimes when I organize imports on a groovy class, the package statement (which was previously the first line in the class) is moved to after some of the imports. Obviously this results in subsequent compilation errors.
The same problem has also been observed by several of my work colleagues.
—
I am using eclipse 3.7.
The groovy features I have installed are:
org.codehaus.groovy.eclipse.feature; 2.5.1.xx-20110628-1600-e37
org.codehaus.groovy.jdt.patch; 2.1.3.xx-20110628-1600-e37
org.codehaus.groovy.17.feature: 2.5.1.xx-20110628-1600-e37
org.codehaus.groovy.18.feature: 2.5.1.xx-20110628-1600-e37
—
I'll try to pin down a deterministic test case with private code removed, but no luck doing that yet...
Can you attach a sample? There's not much I can do without this.