Auto folding function definitions

Can I auto collapse function definitions in plain C code? I try to set Collapse by default option "Method bodies" but looks like it doesn't work for C functions.

(Good news is CLion remembers collapsed functions unlike of NetBeans)

1 comment
Comment actions Permalink

Hi,

"Method bodies" does exactly what you are describing. However, CLion remembers the expanded state of the bodies for a while, so you might not be able to immediately see the effect, especially if you are trying it on a file that had been opened already.

0

Please sign in to leave a comment.