IDE Window: ToDo List

From Free Pascal wiki
Revision as of 12:03, 27 March 2021 by Trev (talk | contribs) (→‎Controls: Update, add missing buttons; remove non-existent buttons; add missing options)
Jump to navigationJump to search

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

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

Til Lazarus 1.6 it only searched the units listed in the project inspector. Since 1.7 it searches all used units (i.e. lpr uses section) too.

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.
  • Help: Show this help page.

Options:

  • Listed: Add units listed ion project inspector / package editor to search.
  • Used: Add units used by main source file.
  • Editor: Add units in the source editor to search.
  • Packages: Add units from used packages to search

Listbox:

  • Click the ToDo item in the list to jump to the ToDo item in the source editor.