Bug? IDEA Inserts empty lines (IDEA-9375) Follow
I have reported this one a while ago. It has been set to fixed but I still have the problem in 6.0.2. Am I the only one?
The bug is simple:
Now when generating for example a constructor, the resulting code looks like this:
With an extra empty line added.
This worked fine in 5.x and any versoin before. If I want inconsistent code generation then I'll switch to Eclipse :)
Please sign in to leave a comment.
Settings -> Global Code Style -> Blank Lines -> After class header
It is set to 0 (zero) here.
Same happens anywhere in the class btw. If I do this:
And ask IDEA to create a getter/setter then the result is:
I'm pretty sure that this was different in 5. My muscle memory complains about the extra keystrokes that I need now.
This really seems to be a bug. Try to convince them to reopen your existing bug report or file a new one.
I agree. This irritates me too. It used to do it right, and now it doesn't.
Wellington, New Zealand
I have no idea how to reopen an issue that has been set to fixed so I created a new one:
Please add a comment to this if you also experience this problem.
I am having a similar issue in my file templates.
I have a "comment header" in there and it does this: