ccd
ccd

Reputation: 6948

How to change the indentation of compose

The indentation change from 4 to 8, how to convert it back to 4?

@Composable
fun <T> ListContent(
    modifier: Modifier = Modifier  // The indentation I'd like to.
)

@Composable
fun <T> ListContent(
        modifier: Modifier = Modifier  // But the indentation actually I get.
)

Upvotes: 1

Views: 848

Answers (1)

ccd
ccd

Reputation: 6948

After setting code style of kotlin, everything work fine. (Preferences -> Code Style -> Kotlin -> Continuation indent -> 4)

Upvotes: 1

Related Questions