If anyone wants to quickly surround some composables with a row or column, I found a way to do it without any plugins or anything.
just use the typical "surround with" shortcut (alt cmd t on mac bindings)
🤔 1
f
Filip Wiesner
04/07/2021, 9:55 AM
I think it's easier to just cut the Text components, write "Row" and paste it back in 🤷♂️
c
Colton Idle
04/07/2021, 10:28 AM
True. I guess it just annoyed me that compose doesn't come with a standard "surround with" functionality like I got used to in SwiftUi.
s
Sean McQuillan [G]
04/07/2021, 5:38 PM
I do this with
1. Add
Row { \n}
above
2. Select Text[n]
3. Shift + Up into the lambda
➕ 1
👍 1
c
Chris Sinco [G]
04/08/2021, 1:15 AM
FYI we have Compose specific Live Templates now exposed in the Surround popup (screenshot from Canary 14)