mikaeljorhult / brackets-todo

Brackets/Edge Code extension that displays all TODO comments in current document or project.
144 stars 37 forks source link

Improve regex? #58

Closed FezVrasta closed 10 years ago

FezVrasta commented 10 years ago

Would be nice to add support for:

<!-- TODO: add support for HTML comments -->

And would be nice to add a way to detect only uppercase tags, to get this:

// note that this will not be listed by TODO list
// NOTE this will be listed by TODO list

And maybe a way to don't detect tags inside strings

var string = "// TODO: this will not be listed by TODO list";

Thanks!

mikaeljorhult commented 10 years ago

All of this can be done using a .todo file to change the recognized syntax.

There will probably be some easier way to do this once a settings dialog is in place but for now the .todo is the way to go.