-
Notifications
You must be signed in to change notification settings - Fork 506
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
"Missing space after //" and IntelliJ IDEA #298
Comments
shyiko
pushed a commit
that referenced
this issue
Feb 12, 2019
shyiko
pushed a commit
that referenced
this issue
Feb 12, 2019
What's the name of this rule to disable it? |
Name is "comment-spacing". |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When commenting out a line in IntelliJ IDEA -- made by JetBrains, who of course also makes Kotlin -- a space is not added after the
//
. This is frustrating because ktlint requires this by default. So every time I comment out a block of lines, I have to tediously add extra spaces. And when uncommenting a line, the extra space is not removed.Could this considered a bug in IntelliJ (because they don't agree with a specification regarding comment format) or an overly-strong rule in ktlint (because no such spec exists)?
The text was updated successfully, but these errors were encountered: