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
Hi. Really enjoying the idea of this extension, but as of yet have been unable to get it to work. Perhaps I'm an idiot (likely), but an (or some?) example of usage in code would be helpful to make sure there's not something obvious I'm missing.
The current readme only references "tags" and dances around the topic by mentioning support for upper/lower case, whitespace, and such. Is it @TODO? TODO:? Does it only work for inline comments? Digging through the code in this repo, it looks like it's simply looking for the existence of TODO anywhere, on any line, within the configured parameters. Yes?
I've a PHP file with the following line: $foo = FALSE; //! TODO: do some stuff here
The //! is Nova's "native" way to comment and have a comment revealed in the symbol navigator/hierarchy sidebar– I've always used this for various TODOs and such, which may be throwing my expectations here. The rest of this line I'd expect to be picked up by this extension, yet the sidebar remains blank, even after tapping the refresh arrow relentlessly and trying various combinations of formatting.
Nova's approach is obviously limited, a gap this extension seems to want to fill. Please help?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi. Really enjoying the idea of this extension, but as of yet have been unable to get it to work. Perhaps I'm an idiot (likely), but an (or some?) example of usage in code would be helpful to make sure there's not something obvious I'm missing.
The current readme only references "tags" and dances around the topic by mentioning support for upper/lower case, whitespace, and such. Is it
@TODO
?TODO:
? Does it only work for inline comments? Digging through the code in this repo, it looks like it's simply looking for the existence ofTODO
anywhere, on any line, within the configured parameters. Yes?I've a PHP file with the following line:
$foo = FALSE; //! TODO: do some stuff here
The
//!
is Nova's "native" way to comment and have a comment revealed in the symbol navigator/hierarchy sidebar– I've always used this for various TODOs and such, which may be throwing my expectations here. The rest of this line I'd expect to be picked up by this extension, yet the sidebar remains blank, even after tapping the refresh arrow relentlessly and trying various combinations of formatting.Nova's approach is obviously limited, a gap this extension seems to want to fill. Please help?
Beta Was this translation helpful? Give feedback.
All reactions