XCode:将一条长注释拆分为多行,其中包含固定数量的字符

时间:2014-12-02 11:08:45

标签: xcode comments

默认情况下,XCode自动换行中的单行注释。有没有办法强制评论跨越多行

不是

// So that really long comments that would not normally be split across multiple lines like this one, which look really annoying in git commit history or other editors which do not text wrap like the one on stack overflow . . . . 

BUT

// So that really long comments
// end up split across multiple 
// lines like this?

1 个答案:

答案 0 :(得分:0)

Xcode偏好设置 - >文字编辑 - >缩进(可单击文本)并取消选择换行