More Notepad++

April 26th, 2007

A while ago I wrote about Notepad++’s awesome customizable syntax highlighting.  Today I learned sometime else to help with my task management:  customizable function definitions.  Using the function list plug-in, I can get a list of all my incomplete tasks.

The plug-in normally finds the functions in a file based on its language settings.  It does this by finding regular expression matches for function declarations (usually just function ) and names ([a-zA-Z][a-zA-Z0-9_]* maybe)  My task files don’t have functions, but I can find my imcomplete tasks using ^\t*\[[ \.]\]. (which matches “[ ] ” and “[.] “, preceded by any number of tabs) for the declaration and .* for the name (which matches the rest of the line), I get exactly what I want.

3 Responses to “More Notepad++”

Leave a Reply

Name

Website

Comment