[TxMt] Re: Folding Features

Steve Lianoglou lists at arachnedesign.net
Mon Feb 12 14:12:47 UTC 2007


> I'm not sure you could make one now, but Allan has said that  
> TextMate 2's
> folding system will be more scope-based than the current system.

Ah nice ... I missed that post, thanks.

> Incidentally, it's likely not impossible to add docstring folding  
> to the folding
> patterns of whatever language you're using, even in the current  
> TextMate.

Yeah .. I was still kind of referring to Python. There are start/stop  
fold markers based on """, but they get hosed when you put a  
whitespace line between paragraphs in the docstring (since it matches  
the tail folding marker based on the indentation level I reckon).

Previously I put just one space on blank lines so as to not have it  
fold there, but it gets kind of tedious to keep up and adhere to when  
more than just myself are fiddling on the same codebase.

-steve








More information about the textmate mailing list