SwiftyDev
SwiftyDev

Reputation: 196

How could I hide the comments from documentation

I have a problem I can't seem to solve. I wish I could hide the comments documentation of properties, methods... but when I use the shortcut ctrl + cmd + shift + < (available in “Editor” » “Code Folding” » “Fold Comment Block”) Xcode hides only the classical comments but not the comment documentation. If anyone has a suggestion it would be very cool, thanks ^^.

Upvotes: 0

Views: 112

Answers (1)

Aira Samson
Aira Samson

Reputation: 243

You can try this:

Go to Editor -> Code Folding -> Fold Comment Blocks

or shortcut:

Fold: Shift + Control + Command + Left

Unfold: Shift + Control + Command + Right

enter image description here

Upvotes: 1

Related Questions