tzachov / vscode-todo-list

VSCode Extension that lists all of your TODO-type comments in an easy-to-read tree view panel
https://marketplace.visualstudio.com/items?itemName=TzachOvadia.todo-list
19 stars 3 forks source link

Match without the colon #18

Closed t413 closed 5 years ago

t413 commented 5 years ago

I've created an expression to match TODO's, etc, without using a colon (TODO:)

(?:\/\/|\/\*)[ ]?([A-Z]+)(?: |\:|\(([A-Za-z\/\d ]+)\)\:)[ ]?(.*)

While it works and now highlights my TODOs it seems the scanning engine doesn't recognize them. Am I missing something? TODOs without a colon aren't that unusual.

tzachov commented 5 years ago

I'll look into it

tzachov commented 5 years ago

Looks like it's working after restarting VSCode.

The panel doesn't refresh when expression is changed. I'll fix it on the next version.

Thanks.