Last Updated: February 25, 2016
· flexicoder

Xcode tip – use alt key for selecting code

If you have a code that is in a vertical section and you would like to select it, for copy/cut/paste/delete functions hold down the alt key while dragging your cursor over the code. The screen shot below shows me selecting //’s so that I can uncomment the code


The selection you make can also be used in pasting and will paste vertical down from your cursor point.

Original post

1 Response
Add your response

One of those features I always forget about, but is still incredibly useful. Thanks for the reminder.

over 1 year ago ·