Reputation: 19189
I tend to use Alt+Ctrl+L to reformat my code when im done coding but i dont want to break lines where i write statements next to each other.
this should remain as it is.
setSupportActionBar(toolbar);
ActionBar actionBar = getSupportActionBar(); assert actionBar != null;
but this should break the line.
{ foo();
is there option for that?
Upvotes: 0
Views: 37
Reputation: 19189
Found it!
Settings
Editor
Code Style
Java
Wrapping and Braces
Keep when reformatting
Multiple expressions in one line <= tick this
Upvotes: 1