Special Notes Lookup in Rails
Add special notes to your source code comments in Rails to later remind you of tasks you need to complete:
1 2 3 4 5 6 7 8 |
|
Some programming IDEs, such as Aptana Studio 3 (free), will even highlight the key notation part.
Now, from the command line, you can list these special notes with a rake task:
1 2 3 4 5 |
|
You can also list notes of each kind individually with rake notes:todo
, rake notes:fixme
and rake notes:optimize
.
You can even list your own, custom notes with rake notes:custom ANNOTATION=MYANNO
.