What keyboard shortcuts did Curt use in the demo?

Hi.
Curt used some shortcut to wrap codes into curly braces In WWDC20-10031 "Stacks, Grids, and Outlines in SwiftUI" talk around 11:07.
I find it super usefull.
Do anybody have an idea what the shortcut is?

Thanks.
Answered by nkalvi in 636715022
It's not a shortcut, but an additional effect on a text selection of the editor preference:
Preferences > Text Editing > Code completion > Automatically insert closing braces ("}")
(which is turned on by default)

To test it, select a line and then enter a { - line will be wrapped as appeared in the video.



Accepted Answer
It's not a shortcut, but an additional effect on a text selection of the editor preference:
Preferences > Text Editing > Code completion > Automatically insert closing braces ("}")
(which is turned on by default)

To test it, select a line and then enter a { - line will be wrapped as appeared in the video.



What keyboard shortcuts did Curt use in the demo?
 
 
Q