2014-12-02 58 views
1

默認情況下,XCode自動換行中的單行註釋。有沒有什麼辦法來迫使評論跨越多行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 . . . . 

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

回答

0

Xcode的首選項 - >文本編輯 - >縮進(可點擊文本),並取消自動換行

+0

不解決換行問題,因爲它不會插入返回字符。 – learnvst 2014-12-02 11:54:09

相關問題