We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Having file:
class WithParen { fun main() { System.out.println( // message below "A message" ) } }
there is no way to have both rule paren-spacing and comment-spacing satisfied:
paren-spacing
comment-spacing
% ./ktlint --version 0.35.0 % ./ktlint --verbose WithParen.kt /home/pkubowicz/devel/bugs/ktlint-paren/WithParen.kt:3:28: Unexpected spacing after "(" (paren-spacing)
After removing space:
System.out.println(// message below
you get:
% ./ktlint --verbose WithParen.kt /home/pkubowicz/devel/bugs/ktlint-paren/WithParen.kt:3:28: Missing space before // (comment-spacing)
A similar issue affects CheckStyle: checkstyle/checkstyle#6371
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Having file:
there is no way to have both rule
paren-spacing
andcomment-spacing
satisfied:After removing space:
you get:
A similar issue affects CheckStyle: checkstyle/checkstyle#6371
The text was updated successfully, but these errors were encountered: