简体   繁体   English

我可以在Xcode中的C语言中使用快速帮助语法吗?

[英]Can I use quick help syntax in C in Xcode?

How can I use the quick help syntax ( Quick help syntax ) in a C program in Xcode? 如何在Xcode的C程序中使用快速帮助语法( 快速帮助语法 )? Something like that: 像这样:

/**
- Returns: 
*/

...does not work for me (only in Swift). ...对我不起作用(仅在Swift中)。

Is there any way? 有什么办法吗?

Thanks in advance! 提前致谢!

If your question is about block comment in Xcode then follow this. 如果您的问题是关于Xcode中的块注释的,那么请遵循此步骤。

Select the code you want to comment in Xcode. 选择要在Xcode中注释的代码。 Then press Cmd + / . 然后按Cmd +/-。
All lines will be commented. 所有行将被注释。 To uncomment do the same. 要取消注释,请执行相同操作。

Also you can use these syntax in Xcode. 您也可以在Xcode中使用这些语法。

在此处输入图片说明

在此处输入图片说明

Accept the answer if it helps you. 如果有帮助,请接受答案。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM