I am trying to stop viewing Android Studio (i.e. IntelliJ) from adding to a new line / carriage return after an anonymous inner class when it is defined as a method parameter. He changes this:
runOnUiThread(new Runnable() {
@Override
public void run() {
}
});
:
runOnUiThread(new Runnable() {
@Override
public void run() {
}
}
);
I looked at the formatting options but cannot find a suitable setting.
source
share