Enable code-folding by default

前端 未结 7 1908
小鲜肉
小鲜肉 2020-12-23 13:38

Is there a way to tell XCode fold methods/functions by default when opening a file?

7条回答
  •  天涯浪人
    2020-12-23 13:54

    If you want to fold / unfold specific blocks of code, since Xcode 7, you have to enable that.

    Go to Xcode > Preferences > Text Editing > and check 'Code folding ribbon'.

    (No idea why they disabled this useful feature by default.)

提交回复
热议问题