wiki:Features/TODOList

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

Tickets

Ticket Resolution Summary Owner Reporter
#1369 fixed ToDo Panel Crashes Padre alias bowtie
#1145 fixed TODO List Bug - Closing padre azornik
#1144 fixed TODO list may jump to the wrong line Sewi
#1126 fixed TODO list: does not immediately show items zenogantner
#1012 fixed TODO list does not support plain text files zenogantner
#824 fixed Dynamic To-do list per document/project Corion
#319 highlight # TODO azawawi szabgab

Test

  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.
  • simple text files
  • other files (with other kinds of commenting mechanism)
  • new file that has never been saved
  • change the regex to an incorrect one, see that padre does not let you save the incorrect regex
       )regex(
    
  • change the regex to some other correct value and see if that works
      XYZ
    
Last modified 4 years ago Last modified on Mar 17, 2011, 6:42:54 AM