Join Slack
Side question, how to tell AS to not reformat the whole file every time I hit some `@Composable` aut...
# compose
n
natario1
04/03/2021, 7:37 PM
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.
google
3
t
Timo Drick
04/03/2021, 7:57 PM
There is a channel
#android-studio
maybe you should post your question there.
n
natario1
04/03/2021, 8:03 PM
This is a compose thing, it only happens if the clicked suggestion is a compose function.
t
Timo Drick
04/03/2021, 8:17 PM
Ah ok i think i know what you mean. I think i had it only during the AndroidDevChallenge because of there special requirements.
Timo Drick
04/03/2021, 8:21 PM
Maybe it is this entry can you try to turn it off: Settings->Editor -> General -> Code Completion -> Compose "Enable enhanced auto-completeion"
n
natario1
04/03/2021, 8:29 PM
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
👍 1
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by