If anyone wants to quickly surround some composables with a row or column, I found a way to do it wi...
c
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
I think it's easier to just cut the Text components, write "Row" and paste it back in 🤷‍♂️
c
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
I do this with 1. Add
Row { \n}
above 2. Select Text[n] 3. Shift + Up into the lambda
1
👍 1
c
FYI we have Compose specific Live Templates now exposed in the Surround popup (screenshot from Canary 14)
🎉 2
c
Ahh. Awesome! Good timing!