feature/behavior request / question

This forum should be used for all code folding problems, questions or suggestions. You can also use this forum to request folding support for a new language.
Post Reply
raz
Posts: 16
Joined: Wed Jan 19, 2005 3:41 pm
Location: MidWest -- USA

feature/behavior request / question

Post by raz »

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.
Post Reply