I'm not the developer, but I looked into the code a little bit and it looks like this will be a mess to fix. Essentially, the Eclipse developers changed the way that they do code formatting. The new method doesn't take into account that the code compiled doesn't match the code written. With lombok, however, that assertion is incorrect. I suspect that fixing it would require a decent overhaul of how lombok works with eclipse—probably a huge effort. Add to that eclipse doesn't provide a nice API to help the cause, the same scenario is likely to play out again at a random time in the future.
There is a work-around: Uncheck Java > Editor > Save Actions > Perform the selected actions on save > Format Source
Read full article from Working with lombok and eclipse cleanup fails: "A save participant caused problems." · Issue #879 · rzwitserloot/lombok
No comments:
Post a Comment