Page 1 of 1

feature/behavior request / question

Posted: Tue Feb 08, 2005 2:18 pm
by raz

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:

blah blah blah

yadda yadda yadda

more crap

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?