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

Multi-line comments support #43

Open
GitHunter0 opened this issue Mar 5, 2021 · 3 comments
Open

Multi-line comments support #43

GitHunter0 opened this issue Mar 5, 2021 · 3 comments

Comments

@GitHunter0
Copy link

Hey @dokato , is it possible to support multi-line comments?

Currently, todor only displays one line, however many TODO comments are to big to fit in one line, so the second line onwards are omitted.

Having a display mode option to choose between single line and multi-line would be great, what do you think about that?

Thank you

@dokato
Copy link
Owner

dokato commented Mar 13, 2021

yeah, good idea, will add that to the roadmap

@GitHunter0
Copy link
Author

GitHunter0 commented Mar 14, 2021

Thanks man, that will be great.

A consideration to make is what will be the cue to stop the multi-line comment.
Sometimes you have consecutive lines of comments but not all are part of the anchor. So to separate them my suggestion is an empty comment line or an empty line. Here is an example:

# TODO: this line will be part of the TODO anchor.
# This line too.
# This line too.
#
# But this line won't, this will be a normal type of comment since it came after an empty comment line.

See what you think about that, @dokato

@DesiQuintans
Copy link

Yes please!

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

No branches or pull requests

3 participants