How to indent some lines, then wrap in { }?

When doing SwiftUI, very often you need to wrap a block in another SwiftUI view. Is there a way I can highlight the lines and make it indent one level, and wrap that insdie { }? Like this:


line 1

line 2

line 3


to become


{

line 1

line 2

line 3

}


?

Did you find out? I'd love to know as well!!! :-)

How to indent some lines, then wrap in { }?
 
 
Q