-
-
Notifications
You must be signed in to change notification settings - Fork 554
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
Clarify how Tokei counts blank lines inside comment blocks #498
Comments
What is the point of blank line inside of a comment? I believe it makes more sense to count these as blanks. |
Yep, I agree with you, but I was just looking at that from a |
Thank you for your issue! I can definitely see the of why one could see it as comments in this case. I haven't really given much thought on whether it should be one or the other. |
Thanks to you for accepting my issue! |
I would be hesitant about making an option, I want to keep the amount of bespoke behaviour flags to a minimum. I would prefer to change the implementation if I was going to make a change. |
I really think that current implementation makes more sense. When counting the number of comment lines, I will possibly like to know how much of the comments are meaningful. |
Tokei
counts blank lines inside comment blocks as blank lines. Wouldn't they be considered as comment lines?For example:
Tokei
output:In this case,
Blanks
should be 0, whileComments
6.Thanks in advance for your clarification! :)
The text was updated successfully, but these errors were encountered: