Xcode4 - Is there a key binding for block comments?

两盒软妹~` 提交于 2019-12-24 01:44:39

问题


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

For Example a written function:

void test(int i) {};

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

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

回答1:


command option /

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


来源:https://stackoverflow.com/questions/5497063/xcode4-is-there-a-key-binding-for-block-comments

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!