-
Notifications
You must be signed in to change notification settings - Fork 509
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
Formatting not consistent with idea / AS #775
Comments
Yes, continuation indent size is set to 8:
Will update it to 4 |
I don't get it. Isn't that for xml? |
No, it is for kotlin files. See #701 for possible solution how to improve this situation. |
The line you posted: <codeStyleSettings language="XML">
<indentOptions>
<option name="CONTINUATION_INDENT_SIZE" value="8" />
</indentOptions>
</codeStyleSettings> is definately for xml or am I missing something? |
Yeah, this one for
|
The following file is formatted correctly according to ktlint:
I applied ktlints configuration to idea using:
ktlint applyToIDEA
When now formatting the code using idea, it generates a different intendation:
I created a sample project here: https://github.com/PaulWoitaschek/KtLintFormattingBug
Versions:
The text was updated successfully, but these errors were encountered: