feature/behavior request / question
Posted: Tue Feb 08, 2005 2:18 pm
Greetings,
Can I now, or in the future, use code folding to fold only those sections that I specify?
As an example, I have a lot of preprocessor conditionals in my file, but I only want to hide some of them, can I make the preprocessor definitions available in a file or configuration so that the folding will use that to determine what to fold?
For example, in my C file I have:
#if LINUX
blah blah blah
#endif
#if DEBUG
yadda yadda yadda
#endif
#if BOARDTYPE = OEM_PROTO
more crap
#endif
can I somehow specify that I want only the LINUX blocks (blah blah blah) to be folded? or that BOARDTYPE = OEM_RELEASE (so that 'more crap' would NOT be folded).
and have the folding behave accordingly?
Thanks!
-rz.
Can I now, or in the future, use code folding to fold only those sections that I specify?
As an example, I have a lot of preprocessor conditionals in my file, but I only want to hide some of them, can I make the preprocessor definitions available in a file or configuration so that the folding will use that to determine what to fold?
For example, in my C file I have:
#if LINUX
blah blah blah
#endif
#if DEBUG
yadda yadda yadda
#endif
#if BOARDTYPE = OEM_PROTO
more crap
#endif
can I somehow specify that I want only the LINUX blocks (blah blah blah) to be folded? or that BOARDTYPE = OEM_RELEASE (so that 'more crap' would NOT be folded).
and have the folding behave accordingly?
Thanks!
-rz.