Code formatter does not work like in Luna [message #1701821] |
Wed, 15 July 2015 23:33  |
Eclipse User |
|
|
|
I am using this code formatter: https://github.com/libgdx/libgdx/blob/master/eclipse-formatter.xml
It seems to be broken in Mars. It's not that you can't import it, but it behaves differently from Luna. The major aspect that I have noticed is that while in Luna the following code looks like this:
removeButton.addListener(new ClickListener() {
@Override
public void clicked (InputEvent event, float x, float y) {
editor.remove();
}
});
in Mars it looks like this:
removeButton.addListener(new ClickListener() {
@Override
public void clicked (InputEvent event, float x, float y) {
editor.remove();
}
});
Although this might seem minor just looking at it like this, the difference ruins commits because of how many places this change occurs. I haven't been able to find the setting to change it back, in Mars, to the way it works in Luna. Just for extra clarification, I am importing the exact same formatter to Luna and Mars, getting those respective results.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.25178 seconds