Ticket #1292 (closed enhancement: worksforme)
Ability to track specific code comments
| Reported by: | Cerel | Owned by: | cboos |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | wiki system | Version: | |
| Severity: | normal | Keywords: | xref |
| Cc: |
Description
I would want to know if there is possible to add a feature like the one I thought.
I use jEdit with a plugin "TaskList?", this plugin parses the code in search of some "special comments". Comment like theese :
// TODO : Something to do.
// FIXME : Something that needs to be fixed.
The plugin then shows a list of all those comments with the comment and the line where it is. The problem is that those comments are not "big" enougth to create a ticket for, and then those comments are forgotten...
I think it could be fun to have a system, in Trac, to track those special comments. The system should be able to list those special comment for the whole code. Showing the comment, the file and the line. The system should also be customisable. I mean, the user should be able to add or remove some of the special comments that he doesn't use.
One "problem" with this system is how the parsing is done. We don't really need to parse the whole code each time. The parsing should only occur in the code in relation with a commit.
So, alot of code is parsed when it's added, but after, only the modified code is parsed. I think that this way, the performance impact of this parsing can be minimal.
Well, of course we still need the possibility to parse the whole code, but that parsing should only occur when a "special comment" is added to the list.
I hope you like the idea, and that it will be implemented :D.


