Jacob Rus wrote:
David Chin wrote:
Is it possible to have Python fold a complete class definition, rather than just the "class ..." statement and the docstring?
It does fold complete class definitions... if your whitespace is setup the way TextMate expects. You need to not dedent in the middle of a class or function, and you need to make sure to dedent at least one line after every class/function.
There's a "cleanup whitespace" command in the python bundle that tries to do this for you.
aha. thanks!
--dave