Skip to content

Add support for an extended indent after an opening ( in expressions#1475

Merged
0x6675636b796f75676974687562 merged 1 commit intomasterfrom
bugfix/andrey.shcheglov/indentation
Jul 25, 2022
Merged

Add support for an extended indent after an opening ( in expressions#1475
0x6675636b796f75676974687562 merged 1 commit intomasterfrom
bugfix/andrey.shcheglov/indentation

Conversation

@0x6675636b796f75676974687562
Copy link
Copy Markdown
Member

What's done:

### What's done:

 * The value of the indent is controlled with the `extendedIndentAfterOperators`
   flag.
 * Fixes #1448.
@codecov
Copy link
Copy Markdown

codecov Bot commented Jul 25, 2022

Codecov Report

Merging #1475 (0cd4aa1) into master (befc9e9) will increase coverage by 0.00%.
The diff coverage is 85.36%.

@@            Coverage Diff            @@
##             master    #1475   +/-   ##
=========================================
  Coverage     82.96%   82.96%           
- Complexity     2567     2579   +12     
=========================================
  Files           111      111           
  Lines          7695     7708   +13     
  Branches       2112     2111    -1     
=========================================
+ Hits           6384     6395   +11     
- Misses          417      418    +1     
- Partials        894      895    +1     
Flag Coverage Δ
unittests 82.96% <85.36%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...at/ruleset/rules/chapter3/files/IndentationRule.kt 75.76% <80.95%> (ø)
...tat/ruleset/utils/indentation/IndentationConfig.kt 90.47% <90.00%> (-9.53%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7f068a8...0cd4aa1. Read the comment docs.

@github-actions
Copy link
Copy Markdown
Contributor

JUnit Tests (macOS, EnricoMi/publish-unit-test-result-action@v1)

1 318 tests   1 302 ✔️  1m 4s ⏱️
   161 suites       16 💤
   161 files           0

Results for commit 0cd4aa1.

@github-actions
Copy link
Copy Markdown
Contributor

JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v1)

1 332 tests   1 317 ✔️  2m 55s ⏱️
   162 suites       15 💤
   162 files           0

Results for commit 0cd4aa1.

@0x6675636b796f75676974687562 0x6675636b796f75676974687562 deleted the bugfix/andrey.shcheglov/indentation branch July 25, 2022 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

WRONG_INDENTATION: a newline after ( within an expression should result in the extended indent for the remainder of the expression

2 participants