IDE Window: ToDo List: what changed
Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.
Title: IDE Window: ToDo List
| Old | New | Line | |
|---|---|---|---|
| 1 | + | The ToDo list shows the list of ToDo comments in all project units. | |
| 2 | + | ||
| 3 | + | Until 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. | |
| 4 | + | ||
| 5 | + | Make comments in source-code like these: | |
| 6 | + | ||
| 7 | + | ``` pascal | |
| 8 | + | {TODO -oOwnerName -cCategoryName: Todo_text} | |
| 9 | + | {DONE -oOwnerName -cCategoryName: Todo_text} | |
| 10 | + | {#todo -oOwnerName -cCategoryName: Todo_text} | |
| 11 | + | {#done -oOwnerName -cCategoryName: Todo_text} | |
| 12 | + | { ToDo: Todo_text} | |
| 13 | + | // ToDo: Todo_text | |
| 14 | + | (* ToDo: Todo_text *) | |
| 15 | + | ``` | |
| 16 | + | ||
| 17 | + | The -o and -c tags are optional. | |
| 18 | + | ||
| 19 | + | ## Controls | |
| 20 | + | ||
| 21 | + | Buttons: | |
| 22 | + | ||
| 23 | + | - **Refresh**: Search again all files for ToDo comments and update the list. | |
| 24 | + | - **Goto**: Jump to the item in the source editor. | |
| 25 | + | - **Export**: Make report of todo items in a CSV file. | |
| 26 | + | - **Help**: Show this help page. | |
| 27 | + | ||
| 28 | + | Options: | |
| 29 | + | ||
| 30 | + | - **Listed**: Search units listed ion project inspector / package editor. | |
| 31 | + | - **Used**: Search units used by main source file. | |
| 32 | + | - **Editor**: Search units in the source editor. | |
| 33 | + | - **Packages**: Search units from used packages. | |
| 34 | + | ||
| 35 | + | Listbox: | |
| 36 | + | ||
| 37 | + | - Click the ToDo item in the list to jump to the ToDo item in the source editor. | |
| 38 | + | ||
| 39 | + | --- | |
| 40 | + | *From the Free Pascal wiki, page "IDE Window: ToDo List", as it stood on 2021-03-27 after a change by Trev, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).* |
