-
Notifications
You must be signed in to change notification settings - Fork 35
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
deleting a TODO item also deletes the line following #40
Comments
Ah so this was actually the intended behavior - I figured that for a TODO could have multiple lines as part of the body. So toodles interprets a TODO body as continuing all the way until the contiguous comment lines end, or another TODO is seen. Would you prefer TODO's for a single line comment only be that line? I'm open to changing the behavior, especially if any other people reading agree. |
On 31/10/2018 17:57, Avi Press wrote:
Ah so this was actually the intended behavior - I figured that for a
TODO could have multiple lines as part of the body. So toodles
interprets a TODO body as continuing all the way until the contiguous
comment lines end, or another TODO is seen.
OK I see your point.
Would you prefer TODO's for a single line comment only be that line?
I'm open to changing the behavior, especially if any other people
reading agree.
Yes, I would vote for this one.
At least in languages supporting single-line comments and multiple lines comments, I would expect TODOs as a single line in a single-line comment, and as the full block in comment blocks.
|
If this does change, it would be wonderful if it could be an option. In Rust for example It's common to see multi-line comments using single line |
Let's consider the test file below. Deleting
issue 2
also deletes the comment line-- another comment 2
.The issue does not appear with this test file, where issue 2 is not followed by a comment line.
The text was updated successfully, but these errors were encountered: