better-word-count icon indicating copy to clipboard operation
better-word-count copied to clipboard

Total word count not always showing

Open phlind opened this issue 3 years ago • 1 comments

Hey, I have the issue that the total word count is not showing up when I'm in a normal Markdown note (then it just says "0" as the count). It does however show up when I'm not on a Markdown file, e.g. a Kanban board or a PDF, and the alternative status bar us used.

I have the following settings:

Status Bar Text: {word_count} words · {total_word_count} total · {file_count} notes

Alternative Status Bar Text: {total_word_count} total · {file_count} notes

I deactivated "collect statistics" and activated "Don't count comments".

This is my .vault-stats file:

{"2021-08-16":{"files":301,"modifiedFiles":{},"words":0,"characters":0,"sentences":0,"totalWords":61421,"totalCharacters":443368,"totalSentences":2843},"2021-08-17":{"files":301,"modifiedFiles":{},"words":0,"characters":0,"sentences":0,"totalWords":61325,"totalCharacters":442553,"totalSentences":2838},"2021-08-18":{"files":0,"modifiedFiles":{},"words":0,"characters":0,"sentences":0,"totalWords":0,"totalCharacters":0,"totalSentences":0},"2021-08-19":{"files":0,"modifiedFiles":{},"words":0,"characters":0,"sentences":0,"totalWords":0,"totalCharacters":0,"totalSentences":0},"2021-08-20":{"files":0,"modifiedFiles":{},"words":0,"characters":0,"sentences":0,"totalWords":0,"totalCharacters":0,"totalSentences":0},"2021-08-21":{"files":0,"modifiedFiles":{},"words":0,"characters":0,"sentences":0,"totalWords":0,"totalCharacters":0,"totalSentences":0}}

phlind avatar Aug 21 '21 14:08 phlind

I was having a similar problem but the "collect statistics" was on and the "Don't count comments" was off. I closed the app, deleted the .vault-stats file, opened the app, turned the "Don't count comments" on, reloaded the app and it worked.

mm47 avatar Nov 25 '21 11:11 mm47

Where do you access these settings? It says highly customizable status bar , but I can't seem to figure out how to modify anything about it and don't know where you're changing those values.

Edit: May be related to https://github.com/lukeleppan/better-word-count/issues/20

Kuiriel avatar Nov 26 '22 04:11 Kuiriel

All these comments should be resolved in the latest update.

lukeleppan avatar Dec 06 '22 23:12 lukeleppan