ktlint incompatibilities with Android Studio autoformatter #1321
Labels
bug
conflict-with-default-intellij-formatting
Code produced by KtLint is not accepted by the IntelliJ default formatter
indentation rule
Milestone
Expected Behavior
I expect that if I run
ktlint -F <src_dir>
and then run the reformat code on the same code (with it configured to ktlint style) that things should remain the same.Observed Behavior
ktlint has some battles with intellij
Steps to Reproduce
For the following blocks of code, run ktlint format and then AS format. They don't agree.
ktlint format
vs intellij
and
ktlint
vs intellij
Your Environment
0.43.2
ktlint -F
The text was updated successfully, but these errors were encountered: