Search code examples
intellij-ideareformat

Intellij ' ' on a new line


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


Solution

  • 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.