peichhorn/lombok-pg — Issue #35: [Feature Request] SaveAction -> Format Source Code
Author: spuckydaslama
Created: 2011-10-13 20:21:41+00:00
State: open

Formatting the source code as part of saving in eclipse (SaveAction) seems not to be working anymore, if lombok did his magic in a class. Organizing the imports still works btw and also, manually formatting(ctrl+f) works as well.

the following sample does not formatting anyhting on saving

```
import lombok.AllArgsConstructor;

@AllArgsConstructor
public class NoEclipseAutoFormatting {
private void test() {
int x = 1 + 2 ;//i just pressed ctrl+s
}
}
```

.. without lombok in a similar class ..

```
public class NoLombokAndFormattingWorks {
private void test() {
int x = 1 + 2;//i just pressave ctrl+s
}
}
```