Open dotvihar opened 2 years ago
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).
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.
![image](https://user-images.githubusercontent.com/33462927/171153184-5f7f55b7-4873-454b-aef0-bcee77e8cdd5.png)
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?