I'me using Notepad++ for editing rake files and I'd like to be able to use the function list plugin.
I've been unable to find any parsing rules on line, and the "Language Parsing Rules" dialog is not very clearly documented.
I'm parsing methods into the list with the following, but would like to also display tasks.
Function Begin: [ \t]*def[ \t]+
Function List Name: [a-zA-Z0-9_\.]*
This isn't very clean, and won't capture functions that end with ? or !, but it is a start.
My task rule, which isn't working is:
Function Begin: [ \t]*task[ \t]+
Function List Name: :[a-zA-Z0-9_\.]*
Function End: [ \t]+do
Any suggestions most welcome.
thanks