Elastic tabstops - a better way to indent and align code

Python package and new Gedit plugin

Recently I found a bug in the Python code which converts text from using spaces to using tabs with elastic tabstops (and vice versa), so I spent a lot of time rewriting the code as well as writing unit tests so that it was easier to fix the bug. When I finished fixing the code I thought it would make sense to split the core functionality out into a Python package so that it could be used by other projects. You can see the package at PyPI here, and install it using sudo easy_install ElasticTabstops

Posted on Friday, 2010-04-02 at 17:30 UTC

1 comments


Wednesday 2011-10-19 07:02 UTC
Karl Ostmo <kostmo AT gmail DOT com>
This is fantastic.

Comments are closed.