I use the Python PEP8 bundle to re-indent and strip whitespace (cmd+option+shift+v). It's also nice for keeping me in line with PEP8.
On Jan 13, 2010, at 9:30 AM, King, Steven wrote:
On 12 Jan 2010, at 12:41, Wells Oliver wrote:
Forgive me if this has been beat to death on this list, but is there any suitable way to develop in python using TextMate? The code collapsing doesn't work, and the included python bundle does something I consider, well, wrong by indenting blank lines to maintain the indentation level. This isn't really a great thing to do.
I suppose it depends on your definition of "suitable". :-)
I find TextMate sufficient for my Python needs, but then I absolutely detest code folding (in any language!) I consider the blank line indentation to be merely a minor annoyance. I have a macro which replaces "\s+$" with "", so when I get bothered enough I hit a single key and all the trailing whitespace goes away.
So for me, it's perfectly suitable!
-- Steve King Sr. Software Engineer Arbor Networks +1 734 821 1461 www.arbornetworks.com
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate