Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/IDE/ToDoList    [ Add a report in this area ]  
Report #:  49474   Status: Closed
Custom entered groups of comments (a TODO engine improvement)
Project:  Delphi Build #:  11
Version:    11.0 Submitted By:   m. Th.
Report Type:  Suggestion / Enhancement Request Date Reported:  7/24/2007 1:40:58 AM
Severity:    Infrequently encountered problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    All platforms Internal Tracking #:   252865
Resolution: Duplicate (Resolution Comments) Resolved in Build: : 12.0.3170.16989
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None

Imho, the TODO group _only_ is quite restrictive in describing the programming tasks which a coder has to do in the development process. Hence, I suggest a small enhancement to the comments parsing allowing user-entered groups, not only the TODO/DONE group.

Nowadays we have:

{TODO Add stricter BO here}
{TODO Change the Root path}
{DONE Clipboard support}

And all of these are shown at a glance in a nice docked table called 'ToDo list'

Enhance a little the coment parsing engine in order to allow the coder to 'register' custom groups like (e. g.) WEAKPOINT, WARNING, OPTIMIZE aso. and thus when the parser will find comments like

{WEAKPOINT Here we are bound with MSExcel COM interface}
{WARNING: The CONTAINING operator does an UpperCase only for English chars!}
{OPTIMIZE: Try a sort + binary search here...}

will group the comments in liksts like 'Weakpoint' list, 'Warning' list, 'Optimize' list aso. giving the same engine with ToDo (ie Priority, Owner, Category, Done) - current unit highlighting sorting aso.

As an aside, because we easely write both

{OPTIMIZE Do caching here}
{Optimize: Try to cache this} //note the ':'

perhaps is better to
1. Trim
2. cut the : if the comment string starts with ':'
3. Trim again

Steps to Reproduce:


Server Response from: ETNACODE01