wiki:Features/TODOList

Version 2 (modified by szabgab, 4 years ago) (diff)

--

Description

Programmers tend to add comments to their code to remind themselves for things they will need to do later. They usually mark them with some specific word or string so they can easily search for that string later. Many times this string is TODO or TO DO or XXX.

The TODO List Feature of Padre makes it easier to see all such items in the current file. When enabled via View/Show? To-do list Padre will open a window on the right side listing all the lines that match a pre-defined regex. This regex is configurable via Preferences/Behavior/RegExp? for TODO panel

Test

Related: #824, #1012, #1126, #1144, #1145, (#899, #319)

  1. Open a perl 5 file (check in the status bar if the mime-type is Perl 5)
  2. Open the TODO list window using View -> To-Do List.
  3. Check if the window opened on the right-hand side
  4. In the file type in the following:
Who Padre version system status
fenderson r13895 Ubuntu 10.10 OK
# TODO hello
  1. See that the text hello appears in the TODO window
  2. (due to a bug currently it only shows up after saving the file)

TODO

  • add more items to the test case to cover the other features and bugs as well.