vscode-todo-plus
vscode-todo-plus copied to clipboard
[comments] token does not work
Hi,
I tried use [comments] token, but it not work.
As you see there is "Comments: 0" in the project row, but there is 3 comments in the project.
The setup for Project:Text is the next:
DONE([finished]/[all] [percentage]%) OPEN([pending]) | Estimated time: [est] | Elapsed time: [elapsed] ([lasted] + [wasted]) | Comments: [comments]
Same in json:
"todo.statistics.project.text": "DONE([finished]/[all] [percentage]%) OPEN([pending]) | Estimated time: [est] | Elapsed time: [elapsed] ([lasted] + [wasted]) | Comments: [comments]",
Would you look at what could be wrong?
It looks like a bug in the extension 🤔 Does it change anything if you dedent those comments to align them with the parent tasks?
It does not change anything. On any indentation level it gives the same result which is always 0.
Ok it seems just broken then, strange 🤔
Hi, it is strange:
The error only occurs (with projects) within the file.
In the status bar you can see the correct number (if you use the token there).