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
#if BOARDTYPE = OEM_PROTO
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?
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.
1 post • Page 1 of 1
kuchnie warszawa opinie
Who is online
Users browsing this forum: No registered users and 25 guests