This is a huge annoyance from 1.0 and this still hasn't been fixed in 1.5, which is bizarre; this surely must annoy the hell out of a lot of other pycharm users than me.
It is often nice to have blank lines within a block of code, like a function or a class, both as placeholders as you are coding in the moment, and also to space out complicated segments of code. By blank lines, I mean a line containing enough whitespace to match the scope of the lines neighboring it. Yet the reformat code feature unconditionally strips this indentation out on blank lines, leaving bizarre jagged lines of indentation. The zigzagging indentation in the middle of a class is not only irritating, but also prevent you from copy+pasting your code into an interactive session, as I'm sure many other users do.
I had heard previously that release 1.5 was to include improvements to the formatting functionality, and we should hold tight until that release cleaned up the code style menu, which nonetheless is still a mess of java specific settings and options leftover from the idea codebase.
The "wrapping and braces" option under settings still has almost entirely greyed options which would only apply to java. Why are they still there?
A heading labeled "Keep when reformatting:" mocks us with entirely greyed out java specific options, yet no choice to preserve indentation when reformatting code.
Can we ever expect a fix on this, or should I figure out how to set-up some external code formatter? On that note, does anyone have any suggestions for nice customizable python code formatters/beautifiers?