Is there a shortcut to make a block comment in Xcode?

前端 未结 16 1212
后悔当初
后悔当初 2020-11-30 18:57

I\'m writing ANSI-compatible C code, and hence I can\'t use the line (//) comment. I\'m using Xcode. In Sublime Text and Eclipse, and I think most other IDEs, t

16条回答
  •  悲&欢浪女
    2020-11-30 19:37

    In XCode 10 (and up) use Option + Command + Slash (that is ⌥ + ⌘ + /)

    to write a beautiful comment for your function or class like below:

提交回复
热议问题