Reputation: 959
As the title suggests, I would like to have a code style (for Kotlin) in place but ignore a specific rule (specifically "Chained method calls").
This rule should simply not apply when using the code formatting functionality and just let the developer judge on a case-by-case basis.
Upvotes: 2
Views: 485
Reputation: 3980
You should be able to achieve this with the following configuration inside
Preferences > Editor > Code Style > Kotlin
:
You will also want to activate the setting to preserve your line breaks:
Upvotes: 1