How开发者_运维百科 set up todo list categories in Delphi 2010. This syntax does not work:
// TODO 1 -cImportant: Do this!
In Delphi 2007, these two syntaxes are recognized:
{ TODO 1 -cImportant :Do this!}
// TODO 1 -cImportant: Do this!
Try launch TODO via dialog pressing SHIFT+CTRL+T keys. Fill dialog and see how Delphi introduces TODO in code.
In Delphi XE2, I created 2 todo comments, one manually and one via Shift-CTRL-T. They didn't appear in the opened TODO list. I save, close and reopen the file and the comments popsup in the TODO list. Thenafter, the TODO list worked very well in a completely syncronized way.
精彩评论