New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sort members problem in eclipse #338

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

Comments

Projects
None yet
1 participant
@lombokissues
Collaborator

lombokissues commented Jul 14, 2015

Migrated from Google Code (issue 265)

@lombokissues

This comment has been minimized.

Show comment
Hide comment
@lombokissues

lombokissues Jul 14, 2015

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

Collaborator

lombokissues commented Jul 14, 2015

👤 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

This comment has been minimized.

Show comment
Hide comment
@lombokissues

lombokissues Jul 14, 2015

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.

Collaborator

lombokissues commented Jul 14, 2015

👤 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

This comment has been minimized.

Show comment
Hide comment
@lombokissues

lombokissues Jul 14, 2015

Collaborator

👤 r.spilker   🕗 Jan 09, 2012 at 20:08 UTC

Fixed in 02d7e29

Collaborator

lombokissues commented Jul 14, 2015

👤 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

This comment has been minimized.

Show comment
Hide comment
@lombokissues

lombokissues Jul 14, 2015

Collaborator

End of migration

Collaborator

lombokissues commented Jul 14, 2015

End of migration

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