Skip to content
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
Closed

Sort members problem in eclipse #338

lombokissues opened this issue Jul 14, 2015 · 4 comments
Milestone

Comments

@lombokissues
Copy link

Migrated from Google Code (issue 265)

@lombokissues
Copy link
Author

👤 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
Copy link
Author

👤 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
Copy link
Author

👤 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
Copy link
Author

End of migration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant