Am I the only one who would like to have a special formatting option for interfaces?
We can choose number of blank line between methods, which is helpful in maintaining a readable layout of a class. I have chosen 2 blank lines; I wouldn't be surprised if that's the most commonly chosen value.
But this setting automatically applies to interfaces as well. Interfaces have no method bodies, only single-line method signatures. For these, I find that having 2 blank lines between each method signature just makes the interface less readable; often it stretches a fairly small interface beyond the bottom of the screen, forcing us to scroll to see the rest.
Personally, I would have liked to have an additional setting for blank lines between method signatures in interfaces. I would choose to set it to 0, but the default should off course be the same as the number of blank lines between methods in classes so that no one gets his or her code changed without first choosing a different setting for interface formatting.
Here's the original request:
Please let me know if this is a completely useless and stupid idea and I'll just creep back into my cave. On the other hand, should you find it appealing, why not help me convince JetBrains to fix this in 4.5 or in one of the immediate follow-ups?