Reputation: 63
let say i have this code:
plane.materials = gridMaterial
and I want the gridMaterial to be enclosed with []
. Is there a hotkey to just highlight the gridMaterial and press the hotkey? Is there a keyboard shortcut?
Upvotes: 1
Views: 400
Reputation: 3853
Go to Xcode
(top menu) -> Settings
-> Text Editing
-> Editing
. Then check the box in front of Enclose selection in matching delimiters
.
After that highlight what ever the are in your code and press[
.
Upvotes: 2