How do I stop the IDE from doing this?

Answered

It keeps doing so automatically, I'm aware it doesn't modify the code, I just find it a tad annoying...

How do I disable such feature?

0
2 comments

May you clarify the exact behavior which seems to be annoying? 

Am I right that IntelliJ IDEA keeps simple methods in one line after reformatting? You can disable it under Preferences | Editor | Code Style | Java > Wrapping and Braces > Keep when reformatting: 

https://i.imgur.com/FNjrmXj.png

1
Avatar
Permanently deleted user

Thank you very much :)

0

Please sign in to leave a comment.