Auto formatting and Alignment problem of function chaining

已回答

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

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

请先登录再写评论。