Word Count
Sublime Text plugin written in Python that counts specific words given by the user.
Details
Installs
- Total 11K
- Win 4K
- Mac 5K
- Linux 2K
| May 12 | May 11 | May 10 | May 9 | May 8 | May 7 | May 6 | May 5 | May 4 | May 3 | May 2 | May 1 | Apr 30 | Apr 29 | Apr 28 | Apr 27 | Apr 26 | Apr 25 | Apr 24 | Apr 23 | Apr 22 | Apr 21 | Apr 20 | Apr 19 | Apr 18 | Apr 17 | Apr 16 | Apr 15 | Apr 14 | Apr 13 | Apr 12 | Apr 11 | Apr 10 | Apr 9 | Apr 8 | Apr 7 | Apr 6 | Apr 5 | Apr 4 | Apr 3 | Apr 2 | Apr 1 | Mar 31 | Mar 30 | Mar 29 | Mar 28 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Windows | 5 | 7 | 3 | 7 | 3 | 6 | 1 | 4 | 1 | 8 | 2 | 3 | 2 | 5 | 5 | 7 | 2 | 5 | 6 | 7 | 5 | 9 | 9 | 3 | 5 | 5 | 9 | 6 | 4 | 5 | 4 | 2 | 6 | 3 | 5 | 0 | 6 | 4 | 1 | 4 | 5 | 5 | 1 | 4 | 7 | 5 |
| Mac | 8 | 8 | 3 | 2 | 5 | 4 | 7 | 5 | 6 | 4 | 4 | 2 | 3 | 5 | 6 | 6 | 8 | 3 | 2 | 5 | 5 | 6 | 4 | 3 | 1 | 5 | 7 | 8 | 5 | 9 | 3 | 8 | 2 | 4 | 7 | 7 | 5 | 4 | 0 | 4 | 4 | 12 | 6 | 7 | 1 | 8 |
| Linux | 0 | 1 | 0 | 3 | 0 | 0 | 3 | 3 | 2 | 1 | 1 | 6 | 3 | 0 | 2 | 2 | 4 | 3 | 2 | 3 | 2 | 2 | 2 | 2 | 1 | 1 | 1 | 2 | 2 | 1 | 3 | 4 | 1 | 4 | 2 | 4 | 1 | 0 | 2 | 0 | 2 | 1 | 3 | 2 | 1 | 1 |
Readme
- Source
- raw.githubusercontent.com
Word Count
Sublime Text plugin written in Python that counts specific words given by the user.
How to use?
From the Command Palette:
Count Specific Wordsopens a panel on the right where the user can then enter words to count,Copy Word Countersfrom that same panel, copies all words and their counters into the clipboard,Sort Words By Counterssorts all words in an ascending or descending order based on the counters.

Here is a brief demo:

It's also possible to switch the Whole word and Case sensitive flags between 0 or 1 to disable or enable them respectively.
Contributions/Suggestions
Contributions and suggestions are more than welcome as this is my first time writing a plugin for Sublime Text.
Ideas/Improvements/Issues
Things I want to improve/fix:
- counting in a large file is quite demanding in terms of cpu
- make it so it doesn't recount after a sort
Credits
I watched a few of OdatNurd's youtube videos to get started as well as google search (a lot) and use Sublime Text's forum. I also followed FichteFoll's suggestions in order to improve the plugin's behavior.