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
Rule for continuation indentation #1136
Comments
Whatever it is the default klint formatter config should not reformat code formatted with the default IntelliJ formatter config. Furthermore, any combination of the 2 formatters should be idempotent. |
@klobuczek many thanks for your comment. unfortunately I do not completely your intent about this. What exactly do you mean by your comment? I did not say about any combination, but to support continuation indentation |
@huehnerlady I mentioned this because we run into exactly the problem you describe. One team member installed klint and reformated the continuation indent set by IntelliJ. So my comment is an extension to your request to provide such a rule and make sure that the rule is by default consistent with the IDE default. |
Expected Rule behavior
I would like to add a rule where you can have a different indent size when going into continuation.
In the editorconfig I believe would be as follows:
Currently I get an error:
error: Unexpected indentation (12) (should be 6) (indent)
Additional information
ij_continuation_indent_size
should be usedThe text was updated successfully, but these errors were encountered: