You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know it's been said in #35 that "there's no way to know if the following line belongs to a todo or not" but I would like to suggest that any line following a TODO counts as part of that todo as long as they are indented in relation to the starting position of the TODO marker.
I would even suggest a minimum of 5 spaces so the todo text is nicely aligned and there's less room for mistakes.
e.g:
// TODO This would than be
// a multiline todo :)
The text was updated successfully, but these errors were encountered:
fabiospampinato
changed the title
Suggestion: Multiline todos when following lines are indented
Multiline todos when following lines are indented
Mar 8, 2023
Technically it's implementable, but the current system relies quite heavily on the fact that that one object in the todo file occupies one line, if that's not the case some optimizations go out of the window. It could still be made fast, but it would require some significant changes.
First of all: thanks for the great tool!
I know it's been said in #35 that "there's no way to know if the following line belongs to a todo or not" but I would like to suggest that any line following a TODO counts as part of that todo as long as they are indented in relation to the starting position of the TODO marker.
I would even suggest a minimum of 5 spaces so the todo text is nicely aligned and there's less room for mistakes.
e.g:
The text was updated successfully, but these errors were encountered: