Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[comments] token does not work #355

Open
dotvihar opened this issue May 31, 2022 · 4 comments
Open

[comments] token does not work #355

dotvihar opened this issue May 31, 2022 · 4 comments
Labels

Comments

@dotvihar
Copy link

Hi,

I tried use [comments] token, but it not work.
image
As you see there is "Comments: 0" in the project row, but there is 3 comments in the project.
image

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?

@fabiospampinato
Copy link
Owner

fabiospampinato commented Nov 15, 2022

It looks like a bug in the extension 🤔 Does it change anything if you dedent those comments to align them with the parent tasks?

@dotvihar
Copy link
Author

It does not change anything. On any indentation level it gives the same result which is always 0.

@fabiospampinato
Copy link
Owner

Ok it seems just broken then, strange 🤔

@CodingFan72
Copy link

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants