Get front row seat and watch the development of micro-isv. We make cool product that solves all your problems...

logo

Friends
         
Bug Tracking with Jedit and grep
2009-02-02

Here's a nice feature of Jedit I found today.

Formal bug tracking systems are nice but they have a significant overhead, so when all you want to do is to remember that this piece of code needs fixing at some time in the future I much prefer just putting a TODO comment next to it.

Today I wanted to go though my code and have a look at each of them, and it turns out that Jedit's support for jumping to the source of a compiler error message is just what is needed. First you need the 'Console' plugin installed, then just open a console window and type: (The -n produces line numbers)

find . -iname '*.hs' | xargs grep -n TODO

Bring up the Error List view (Plugins → ErrorList → Error List), and you can quickly click through each item marked TODO and instantly jump to it. Magic.