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?
Please sign in to leave a comment.
Hi,
will this setting do the trick for you?
Works for Kotlin too in 2023.1.2 using the default code style settings for chained function calls: