[Trac-tickets] [The Trac Project] #1292: Ability to track specific code comments

The Trac Project noreply at edgewall.com
Sun Mar 13 15:03:27 EST 2005


#1292: Ability to track specific code comments
-------------------------+--------------------------------------------------
       Id:  1292         |      Status:  new                     
Component:  general      |    Modified:  Sun Mar 13 15:03:27 2005
 Severity:  enhancement  |   Milestone:                          
 Priority:  low          |     Version:                          
    Owner:  jonas        |    Reporter:  Cerel                   
-------------------------+--------------------------------------------------
 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 :[[BR]]
 // TODO : Something to do.[[BR]]
 // FIXME : Something that needs to be fixed.[[BR]]

 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.

-- 
Ticket URL: <http://projects.edgewall.com/trac/ticket/1292>
The Trac Project <>


More information about the Trac-Tickets mailing list