Xcode4-块注释是否有键绑定? [英] Xcode4 - Is there a key binding for block comments?

查看:81
本文介绍了Xcode4-块注释是否有键绑定?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Xcode4的新手,正在寻找可以将块注释插入方法和类的键绑定.

I'm new to Xcode4 and looking for a key binding that inserts block comments to methods and classes.

例如一个书面函数:

void test(int i) {};

我想对此发表一个集体评论:

I'd like to have an block comment to this:

/** test
*
* @param int i
* @return void
*/
void test(int i) {};

推荐答案

命令 选项 /

/// <#Description#>
///
/// - Parameter i: <#i description#>
func test(i: Int) {}

这篇关于Xcode4-块注释是否有键绑定?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆