Reputation: 1076
for developing I use IntelliJ. Is here anybody who knows if is there configuration how to wrap the division of the text to new line (press enter) that'+' operator will be placed on the new line?
I have also next question.
Is there configuration how to freeze my tabs in code? Because when I used it and after that I used Reformat Code action, my tabs have been lost.
Thanks
Upvotes: 2
Views: 2030
Reputation: 31996
The StackoverFlow answer link in @Viliam comment is the correct answer, at least in theory... there is a bug that prevents this from working for Strings: Settings "Operation sign on next line" does not work for automatically breaking strings. I recommend you vote for it.
Upvotes: 3
Reputation: 131
For tab/space: open Settings (Ctrl + Alt + S), go to: Code Style / Java under Tabs and Indents you have "Use tab character".
For String with + on new line, I searched also this one few weeks ago and didn't find it!
Upvotes: 0