Thread
#compose
    natario1

    natario1

    1 year ago
    Side question, how to tell AS to not reformat the whole file every time I hit some
    @Composable
    autocomplete suggestion, adding tons of opinionated newlines and indentation? It's so annoying.
    Timo Drick

    Timo Drick

    1 year ago
    There is a channel #android-studio maybe you should post your question there.
    natario1

    natario1

    1 year ago
    This is a compose thing, it only happens if the clicked suggestion is a compose function.
    Timo Drick

    Timo Drick

    1 year ago
    Ah ok i think i know what you mean. I think i had it only during the AndroidDevChallenge because of there special requirements.
    Maybe it is this entry can you try to turn it off: Settings->Editor -> General -> Code Completion -> Compose "Enable enhanced auto-completeion"
    natario1

    natario1

    1 year ago
    That works! Thanks a lot Timo. Going to love being able to write Modifier.weight(1F).alpha(0.5F) on one line instead of three