This plugin is the same as the built-in Word Count plugin, except when you select text, it will count the selected word instead of the whole document. I recommend turning off the built-in Word Count because this plugin is designed to replace that. This plugin also has the ability to store statistics about your vault.
I noticed that despite having collectStats set to false, upon vault or plugin load, the .vault-stats file would keep coming back. This is due to: In the plugin onload(), a BarManager is created In the BarManager constructor, a DataManager is created In the DataManager constructor, the .vault-stats file is created and then written to, regardless of the user's collectStats setting. We add an additional check in the DataManager constructor for the collectStats setting, propagating settings through constructors as necessary. |
||
---|---|---|
.github/workflows | ||
assets | ||
presets | ||
src | ||
.gitignore | ||
LICENSE | ||
manifest.json | ||
package.json | ||
README.md | ||
rollup.config.js | ||
tsconfig.json |
Better Word Count
This plugin is the same as the built-in Word Count plugin, except when you select text, it will count the selected word instead of the whole document. I recommend turning off the built-in Word Count because this plugin is designed to replace that. This plugin also has the ability to store statistics about your vault.
Features
- Allows you to store statistics about your vault.
- Works with all languages.
- Can display a variety of different stats. Including:
- Words, Characters and Sentences in current file.
- Total Words, Characters and Sentences in vault.
- Words, Characters and Sentences typed today.
- Total Files in vault.
- Highly Customizable status bar that can be adapted to your needs.
TODO
- add statistic view
- add more statistics (make suggestions)
- add goals
Contributors
- @leoccyao
- Added all word, char, sentence count when not viewing a markdown file.
- @lishid
- Helped solve the performace issue.
Special Thanks
- @liamcane
- @eleanorkonik
- @AngelusDomini
- @archelpeg
- @aproximate
- @Quorafind
- @torantine
- @lammersma
- @aknighty74
- @dhruvik7