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
If you take a source file with annotations above parameters like this:
import org.jetbrains.annotations.Nullable class Tester { fun annotated(@Nullable param: String) { println("nullable $param") } }
ktlint -F Test.kt You'll get:
ktlint -F Test.kt
import org.jetbrains.annotations.Nullable class Tester { fun annotated( @Nullable param: String ) { println("nullable $param") } }
The workaround is that you can manually fix the indent of the param and ktlint will accept that too.
ktlint
The text was updated successfully, but these errors were encountered:
Fixed indent adjustment inside parameter subtree (#161)
ed078dd
Thank you, Jeremy. Fixed in 0.17.0 (Maven Central sync might take up to 25 minutes).
Sorry, something went wrong.
No branches or pull requests
If you take a source file with annotations above parameters like this:
ktlint -F Test.kt
You'll get:
The workaround is that you can manually fix the indent of the param and
ktlint
will accept that too.The text was updated successfully, but these errors were encountered: