Hey everyone, Android studio has a code snippet to create a Box when you type W. Supposedly, it’s to facilitate wrapping composables. But how do you use it for wrapping?
a
alorma
07/14/2021, 3:58 PM
Select your composable and click cmd + enter (or similar, not remember)
t
Tiago Nunes
07/20/2021, 9:32 PM
@alorma forgot about this thread 😅 but that doesn't wrap anything, it just prints the Box { } in the same line
Tiago Nunes
07/20/2021, 9:33 PM
If used correctly, it should probably do the same as the Emmet option in VS Code to wrap a selection of HTML code