gpt4 book ai didi

XCode:将一个长注释拆分为固定字符数的多行

转载 作者:行者123 更新时间:2023-12-05 07:57:19 25 4
gpt4 key购买 nike

默认情况下,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?

最佳答案

Xcode Preferences -> Text Editing -> Indentation (clickable text) 并取消选择 Line wrapping

关于XCode:将一个长注释拆分为固定字符数的多行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27247925/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com