-
Notifications
You must be signed in to change notification settings - Fork 503
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suggestion: Needless blank line(s) additions #65
Comments
Hi @vanniktech. While I like the idea, I'm note sure Intellij built-in formatter supports this (there is a setting for Java (Code Style -> Java -> Blank Lines -> Before '}') which can be set to 0 to enforce this kind of style, but not for Kotlin) (at least not in IDEA 2016.3). It's pretty easy to implement but I'd prefer not to add anything that can't be enforced by the IDEA's formatter (if we can). |
Will this mean this functionality will be added now or once 1.1.4 is out? |
I think we should hold off until 1.1.4 is out (just to be on the safe side). |
Change contributed by @Ilya-Gh 🎉. |
This can be closed now. Thanks :) |
The check, Needless blank line(s), flags the following code:
although I'd also expect it to flag the one below as well:
since the newline between the
}
is not necessary.The text was updated successfully, but these errors were encountered: