Difference between revisions of "IDE Window: ToDo List"

From Free Pascal wiki
Jump to navigationJump to search
Line 12: Line 12:
 
{#todo -oOwnerName -cCategoryName: Todo_text}
 
{#todo -oOwnerName -cCategoryName: Todo_text}
 
{#done -oOwnerName -cCategoryName: Todo_text}
 
{#done -oOwnerName -cCategoryName: Todo_text}
{ToDo: Todo_text}
+
{ ToDo: Todo_text}
 +
// ToDo: Todo_text
 +
(* ToDo: Todo_text *)
 
</syntaxhighlight>
 
</syntaxhighlight>
  

Revision as of 20:09, 23 November 2016

Deutsch (de) English (en) suomi (fi) français (fr)

The todo list shows the list of ToDo comments of all files of the project units.

At the moment it searches all units used in the .lpr file of the current project (including units from packages and excluding project units not used in the .lpr file). Eventually it should search all units of the project. A patch for this is welcome. See ide/todolist.pas procedure TfrmTodo.acGotoExecute.

Make comments in source-code like these:

{TODO -oOwnerName -cCategoryName: Todo_text}
{DONE -oOwnerName -cCategoryName: Todo_text}
{#todo -oOwnerName -cCategoryName: Todo_text}
{#done -oOwnerName -cCategoryName: Todo_text}
{ ToDo: Todo_text}
// ToDo: Todo_text
(* ToDo: Todo_text *)

The -o and -c tags are optional.

Controls

Buttons:

  • Refresh: Search again all files for ToDo comments and update the list.
  • Goto: Jump to the item in the source editor.
  • Export: Make report of todo items in a CSV file.

Listbox:

  • Double click to jump to the item in the source editor.