options for Intellij and the Kotlin specific ones? Looking to use
ktfmt
but the `.editorconfig` file they provided that "approximates ktfmt's formatting rules" gives tons of formatting errors in IntelliJ when applying their formatting. Rider does have this list (https://www.jetbrains.com/help/rider/EditorConfig_Index.html) but I cannot find it for IntelliJ .
I've found that changing the rules decreases the errors but I cannot find one that sets the indent within a
when
block to be the continuation indent instead of a normal indent.
d
Daniel Pitts
12/17/2023, 5:52 PM
I seem to recall that when editing the .editorconfig file inside IntelliJ, the
generate
action (⌘-N on a Mac) creates all of the available properties.