Just starting to really use compose. Going through...
# compose
c
Just starting to really use compose. Going through the tutorial it starts with
Copy code
Text("A day in Shark Fin Cove")
        Text("Davenport, California")
        Text("December 2018")
and then tells you to wrap it in a column
Copy code
Column {
        Text("A day in Shark Fin Cove")
        Text("Davenport, California")
        Text("December 2018")
    }
Is there an easy way to wrap elements in a layout? I think swift UI had an easy way to highlight and right click > wrap with X layout or something. I could see myself using that a lot. Would also be nice to get a list of all layouts when you "surround with" or something. Unless this already exists... and I'm missing it.
w
Nice point. I think that's a feature that we expect from an upcoming AS release. Would definitely help save time.
i
Haven't tried, but maybe you can create your own template in Intellij/AS https://www.jetbrains.com/help/idea/surrounding-blocks-of-code-with-language-constructs.html