Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Shortcut for Xcode Documentation Comments

Is there an equivalent shortcut for a "Make Documentation Comment" like the one for regular comments - So it makes /// instead of //

enter image description here

enter image description here

like image 757
remedy Avatar asked Feb 24 '16 22:02

remedy


People also ask

How do I comment out a section in Xcode?

Cmd + Shift + 7 will comment the selected lines.


1 Answers

In Xcode 10 put cursor on name or method and press cmd + option + /.

I found out about this comment in this YouTube video.

like image 187
derpoliuk Avatar answered Oct 29 '22 08:10

derpoliuk