IDE Window: ToDo List: what changed
Revision 1 to 2. Removed lines have a minus sign; added lines have a plus sign.
| Old | New | Line | |
|---|---|---|---|
| 1 | - | ||
| 2 | - | ||
| 3 | - | ||
| 1 | + | The ToDo list shows the list of ToDo comments in all project units. | |
| 4 | 2 | ||
| 5 | - | ||
| 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. | |
| 6 | 4 | ||
| 7 | - | ||
| 8 | - | ||
| 9 | - | ||
| 10 | - | ||
| 11 | - | ||
| 12 | - | ||
| 13 | - | ||
| 14 | - | ||
| 5 | + | Make comments in source-code like these: | |
| 15 | 6 | ``` | |
| 7 | + | {TODO 5 -oOwnerName -cCategoryName: Todo_text} | |
| 8 | + | {DONE 5 -oOwnerName -cCategoryName: Todo_text} | |
| 9 | + | {#todo 5 -oOwnerName -cCategoryName: Todo_text} | |
| 10 | + | {#done 5 -oOwnerName -cCategoryName: Todo_text} | |
| 11 | + | { ToDo: Todo_text} | |
| 12 | + | // ToDo: Todo_text | |
| 13 | + | (* ToDo: Todo_text *) | |
| 14 | + | ``` | |
| 16 | 15 | ||
| 17 | - | ||
| 16 | + | The number, '5' in examples (priority), -o and -c tags are optional. | |
| 18 | 17 | ||
| 19 | 18 | ## Controls | |
| 20 | 19 | ||
| 21 | - | ||
| 20 | + | Buttons: | |
| 22 | 21 | ||
| 23 | - | ||
| 24 | - | ||
| 25 | - | ||
| 26 | - | ||
| 22 | + | * **Refresh** : Search again all files for ToDo comments and update the list. | |
| 23 | + | * **Goto** : Jump to the item in the source editor. | |
| 24 | + | * **Export** : Make report of todo items in a CSV file. | |
| 25 | + | * **Help** : Show this help page. | |
| 27 | 26 | ||
| 28 | - | ||
| 27 | + | Options: | |
| 29 | 28 | ||
| 30 | - | ||
| 31 | - | ||
| 32 | - | ||
| 33 | - | ||
| 29 | + | * **Listed** : Search units listed ion project inspector / package editor. | |
| 30 | + | * **Used** : Search units used by main source file. | |
| 31 | + | * **Editor** : Search units in the source editor. | |
| 32 | + | * **Packages** : Search units from used packages. | |
| 34 | 33 | ||
| 35 | - | ||
| 34 | + | Listbox: | |
| 36 | 35 | ||
| 37 | - | ||
| 36 | + | * Click the ToDo item in the list to jump to the ToDo item in the source editor. | |
| 38 | 37 | ||
| 39 | 38 | --- | |
| 40 | - | ||
| 39 | + | *From the Free Pascal wiki, page "IDE Window: ToDo List", as the Internet Archive kept it on 2024-12-12, last changed on 2024-08-05. 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).* |
