Xcode shortcut delete wrapping views in swiftui

I would like a shortcut for deleting view in swiftui

VStack {
// long code 
}

How to delete VStack with its ending curly bracket?

Thanks

In response to your post, I recommend double-tapping the first bracket. This action will select all the code from the first bracket to the enclosing bracket, allowing you to delete it easily. Is this the solution you were seeking?

Hope this helps.

Albert Pascual
  Worldwide Developer Relations.

Xcode shortcut delete wrapping views in swiftui
 
 
Q