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

Added char-count with settings to enable/disable it. #746

Merged
merged 4 commits into from Feb 19, 2021
Merged

Added char-count with settings to enable/disable it. #746

merged 4 commits into from Feb 19, 2021

Conversation

TheJackiMonster
Copy link
Collaborator

I have seen an old PR (#339) which should fix that issue and I adapted the changes from it. So this request will add a char-count next to the word-count or only via tooltip (default) depending on the general settings. There are also added settings to show the amount of chars in the tree-view.

This PR fixes #334 but it does count chars with whitespace. It is mentioned in other issues that whitespace should not be counted, so these will probably stay open until a setting for it is added.

@TheJackiMonster
Copy link
Collaborator Author

Sorry btw for the commit-arrangement in this. First I tried to make it only one commit but then I thought it would be better to include/merge the old commits from the original PR somehow. Still works as intended by me.

@TheJackiMonster
Copy link
Collaborator Author

This should fully solve #725 since the whitespace gets counted.

@TheJackiMonster
Copy link
Collaborator Author

I've added a setting for disabling counting the space characters. So it should solve the problem mentioned in #607. But because it would require to recount characters for all files and folders after changing the setting which is quite complicated to implement properly. It will require a restart of the application to work properly and update the amounts. But this shouldn't be a bigger deal for now.

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