-
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
Set extendedIndentAfterOperators
to true
by default
#1447
Merged
0x6675636b796f75676974687562
merged 3 commits into
master
from
bugfix/andrey.shcheglov/indentation
Jul 13, 2022
Merged
Set extendedIndentAfterOperators
to true
by default
#1447
0x6675636b796f75676974687562
merged 3 commits into
master
from
bugfix/andrey.shcheglov/indentation
Jul 13, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### What's done: * Once we now have a separate flag for assignment (`extendedIndentForExpressionBodies`, `false` by default), let's set `extendedIndentAfterOperators` back to `true` to be consistent with how IDEA formats Kotlin source files.
### What's done:
Codecov Report
@@ Coverage Diff @@
## master #1447 +/- ##
=========================================
Coverage 83.23% 83.23%
Complexity 2562 2562
=========================================
Files 107 107
Lines 7619 7619
Branches 2103 2103
=========================================
Hits 6342 6342
Misses 388 388
Partials 889 889
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
petertrr
approved these changes
Jul 13, 2022
0x6675636b796f75676974687562
deleted the
bugfix/andrey.shcheglov/indentation
branch
July 13, 2022 13:11
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What's done:
(
extendedIndentForExpressionBodies
,false
by default, see Add anextendedIndentForExpressionBodies
flag to theWRONG_INDENTATION
check #1443), let's setextendedIndentAfterOperators
back totrue
to be consistent with how IDEAformats Kotlin source files.
Which rule and warnings did you add?
Actions checklist