Open navaronbracke opened 12 months ago
That's your extension returning TODO items along with problems
Most likely you need to ask in extension's repo to provide setting to return TODOs or not, because AFAIK VS Code doesn't have separate severity or any support for TODO out of the box.
As an alternative you can try !todo
in filter field.
because AFAIK VS Code doesn't have separate severity or any support for TODO out of the box.
This was my intent with this issue, if we had TODO
s as an issue category in the LSP, then VSCode could provide a filter for this. Currently the Dart analyzer does some manual work to have the dart(todo)
show up as "info" issues, because there is no such category for TODO's.
This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!
:slightly_smiling_face: This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!
When viewing the
Problems
tab, both TODO's and info messages, warnings and errors are displayed.You can toggle the display of the info / error / warning messages with the filter button. However, there is no way to easily filter TODO's from other info messages.
I would like to see a new option in the filter, specifically for TODO comments. I.e.
Show TODO's
under theShow Infos
option.When this is checked, TODO comments show up in the problems tab.
To illustrate, my warning panel of one of my projects (conveniently, with a lot of warnings):