
pydo is a little script, which extracts TODO, FIXME and XXX from files and prints the on the terminal.
You need Python (at least version 2.5) installed and working.
Installation of the script itself is rather easy, just place it somewhere into your $PATH. More complex is the installation of its dependencies:
All these packages are available on the PyPI and can therefore be installed with easy_install:
easy_install path.py argparse
pydo is very simple. If no input files, it reads from standard input, otherwise from the specified files. A single dash (-) as file name will read from standard input, too. There is only one option, -R, which makes pydo recurse into directories. That’s it ;)
$ pydo export_amarok_covers.py
export_amarok_covers.py:339:todo: Implement support for postgresql databases
Found 1 item(s).
To use pydo from emacs, download pydo.el, place somewhere into your load path and then load it in your ~/.emacs. The following code is taken from my .emacs:
(add-to-list 'load-path (expand-file-name "~/lib/elisp"))
(load-library "pydo")
This provides a new function pydo, which calls pydo and places its output inside a compilation buffer. You can the standard next-error and previous-error to move through the todo items.
Note, that pydo must be somewhere in your $PATH for this to work correctly.
This programm is free software, you can redistribute and/or modify it under the terms of the GPL 2.