-
Notifications
You must be signed in to change notification settings - Fork 39
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
Wrong indentation text in functions with expression body #683
Labels
bug
Something isn't working
Comments
I believe, correct way would be private fun ASTNode.extractLinesFromBlock(type: IElementType): List<String>? =
treeParent
.getFirstChildWithType(type)
?.text
?.trim('{', '}')
?.split("\n")
?.filter { it.isNotBlank() }
?.map { it.trim() }
?.toList() i.e. after |
Actually it's fine, I just didn't see the correct indentation |
aktsay6
added a commit
that referenced
this issue
Jan 14, 2021
### What's done: * Fixed documentation
aktsay6
added a commit
that referenced
this issue
Jan 17, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If there are 12 spaces before method call, rule requires 16 spaces. If there are 16 spaces, rule requires 12.
Environment information
The text was updated successfully, but these errors were encountered: