microsoft / vscode-wordcount

Sample Word Count extension for VS Code.
Other
124 stars 79 forks source link

feature request: count highlighted words #22

Open sheim opened 4 years ago

sheim commented 4 years ago

It would be great if you could highlight a section and automatically get a wordcount for only that section.

It would also be awesome if it automatically ignored comments (currently, it will actually count the <!-- and --> as individual words).

steve1998 commented 4 years ago

I'd like to tackle this issue if possible.

jfgilmore commented 4 years ago

I have written #25 Selected word count that should resolve your request for a highlighted word count. Sorry, I should have come here first I guess. I wanted the same functionality 🙂

I believe the pull request #23 remove lots of non-word things covers ignoring comments.

codewing commented 4 years ago

Please integrate this change. Counting a whole file is rarely useful to me

morachimo commented 4 years ago

Also looking forward to have this change integrated.

jfgilmore commented 3 years ago

Hi folks, I am planning to fork this and open source it if you are interested in coming on as maintainers?

This repo from what I have read was never meant to be used as a maintained plugin but as a sample plugin template for learning purposes. However it's definitely a tool that people use, particularly coding students so I believe it has merit to be maintained as a ongoing project. It will probably reach maturity quickly as it is simple but I can commit to at least maintain it on an ongoing basis.

I will make another post here when done so it can be easily found.

Cheers, Josh