mt40 / vscode-todo-parser

TodoParser extension for vscode. Parse TODOs in your project.
http://kantlove.github.io/vscode-todo-parser
MIT License
54 stars 13 forks source link

Habillity to accept "@TODO" #60

Closed leocaseiro closed 7 years ago

leocaseiro commented 7 years ago

First of all, many thanks for this awesome plugin.

I was wondering if we could be able to parse @TODO as well.

I use TODO as JSDocs and I have to remove @ to be able to read on the list.

Thanks

mt40 commented 7 years ago

Hi @leocaseiro, thanks for your kind words.

To use @TODO, you can add it to the extension setting in VSCode (see this)

Another problem is even after adding the setting, it will not work yet. Because you are using multi-line comment, and there is a bug:

/** <-- bug is here
 * @todo Write the documentation.
....

The extension cannot recognize multi-line comments starting with \**, but it can with \* (one asterisk) (also see #58).

And this will be fixed in v1.8.10 👍

leocaseiro commented 7 years ago

Thanks @kantlove! It worked for me!