[TxMt] Re: Puthon folding idea (not really mine)

Jacob Rus jacobolus at gmail.com
Fri Dec 14 09:00:48 UTC 2007

Alexey Blinov wrote:
> Hi!
> I like a code folding but simce i write Python in TM - code folding doesn't
> work right... Sometimes its ok but some - weird.
>  [...]
> we need to add new folding rule to fold code based on that pair of markers
> #{{{
> def test
>     ...
> #}}}

No offense intended, but good god, that is ugly.  I hope you don't have 
to share code that looks like that with anyone else.

Hopefully Allan will eventually add support foldings for languages with 
pretty syntax, as well as those which condone gratuitous ugly. ;)  Until 
then, just stick to using whitespace for Python+TM folding--it works 
passably well.


More information about the textmate mailing list