Line break in chevrons when it can be in a dot
- Dominant language
- Kotlin
- Stars
- 1.3k
- Forks
- 116
- Avg merge
- 4d 10h
- Merged PRs (30d)
- 15
Description
```
class CharactersTest {
@Test
fun characters_test() {
launchFragmentWithNavigation {
with(binding) {
recyclerViewCharacters.adapter.shouldBeTypeOf<
ListAdapter>()
}
}
}
}
```
should be
```
class CharactersTest {
@Test
fun characters_test() {
launchFragmentWithNavigation {
with(binding) {
recyclerViewCharacters
.adapter
.shouldBeTypeOf>()
}
}
}
}
```
Contributor guide
Research direction
Start by reproducing the formatting difference using the Kotlin snippets in the issue, then locate the formatter logic and tests for chained calls and line breaks around dots. Add regression coverage for this case and verify that the formatted output matches the expected example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100