Sort members problem in eclipse #338

Closed
lombokissues opened this Issue Jul 14, 2015 · 4 comments

Projects

None yet

1 participant

@lombokissues
Collaborator

Migrated from Google Code (issue 265)

@lombokissues
Collaborator

๐Ÿ‘ค morten.frank@mfrank.dk ย  ๐Ÿ•— Aug 30, 2011 at 08:13 UTC

1.use an log annotation and some members like:
package my.package;
@ Log4j
public class AClass {
private int m2;
private String m1;
}

  1. Use sort members in eclipse

This will give something like:

private int m2;ackage my.package;
@ Log4j
public class AClass {
private String m1;
p
}

Windows XP
Eclipse Eclipse Java EE IDE for Web Developers.
Version: Helios Release
Lombok 0.10.0

@lombokissues
Collaborator

๐Ÿ‘ค r.spilker ย  ๐Ÿ•— Dec 19, 2011 at 20:17 UTC

The latest fixes show some improvement. Since 76c45bc the import statement is left alone. However, the alphabetically first field disappears and extra newlines are inserted at the start and end of the class body.

@lombokissues
Collaborator

๐Ÿ‘ค r.spilker ย  ๐Ÿ•— Jan 09, 2012 at 20:08 UTC

Fixed in 02d7e29

@lombokissues lombokissues added this to the 0.10.8 milestone Jul 14, 2015
@lombokissues
Collaborator

End of migration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment