[TxMt] Fold #ifdef's

Allan Odgaard throw-away-2 at macromates.com
Thu Apr 10 15:54:11 UTC 2008

On 8 Apr 2008, at 19:57, dvlogic wrote:

> Is there a way to fold (hide) C/C++ #ifdef's that are not defined in a
> project? [...]

You can add #ifdef/#endif to the folding patterns¹ but it cannot be  
smart about only folding those things which the C preprocessor will  
throw away.

¹ http://macromates.com/textmate/manual/navigation_overview#customizing_foldings

More information about the textmate mailing list