Friday, May 13, 2016

Xcode Tip: Comment Hotkey/Shortcut

To put comment characters // in front of multiple lines in Xcode, highlight the area required and press:

[command ⌘] + [/]



This technique also works with IBM Swift Sandbox.

Related Information:

Xcode Tip: Hotkeys/Shortcuts to move multiple lines horizontally
Xcode Tip: Hotkey/Shortcut to format the indentation of multiple lines

No comments:

Post a Comment