Making "Reformat Code" not delete extra blank lines
Answered
Hello,
I've got a quick question. I used to use IntelliJ CE and recently I upgraded to Ultimate meaning all my previous settings got lost. I like to space out certain things like methods, variables, etc. and I used to have it set so when I click "Reformat Code" it doesn't get rid of those extra spaces. Now, in Ultimate it keeps taking away my extra spaces and I have no idea what setting I clicked on in the CE. Anyone got any ideas?
Thanks,
Anand
Please sign in to leave a comment.
For spacing settings on reformat check the Settings (Preferences on macOS) | Editor | Code Style | Java | Spaces Code Style settings.
>I upgraded to Ultimate meaning all my previous settings got lost.
Note that you can transfer settings between IDEs using File | Import/Export Settings.. action.