I have the following code (before format):
I played with the blank line / format settings, and now when I reformat the code, IDEA eats up the blank line:
I have the following set in the "Blank Lines" configuration tab (from the top down):
1 - In decl
2 - In code **
1 - Before }
0 - Before pkg stmt
1 - After pkg stmt
1 - Before imports
1 - After imports
1 - Around class
0 - Around field
1 - Around Method
0 - After class header
I reverted my scheme back to default, and reformatted, but the blank line is still being removed. This didnt happen until after I played with the config settings.
I would have thought that (**) would be the setting Im interested in here.
Can anyone else reproduce this?