Auto formatting and Alignment problem of function chaining

Answered

Hello :)

Two chained functions are not aligned in the same line.

I expected that .orElseThrow should be aligned at 'dot' of findById method.

How can I fix it?

0
2 comments

Hi,

will this setting do the trick for you?

0

Works for Kotlin too in 2023.1.2 using the default code style settings for chained function calls:

0

Please sign in to leave a comment.