Add a specific panel for TODO-style comments
See original GitHub issueOther editors have a panel for TODO comments to keep them out of the normal Problems view. VS Code doesn’t, so some languages (including Dart) are providing them as Diagnostics.
Some users use generic TODO extensions that search across text. These might not be as accurate as those provided by a language server because they don’t understand the syntax (they’re also duplicating work by reading every file searching for TODOs).
Because language extensions can’t rely on users having TODO extensions, they might still produce diagnostics, giving the users duplicates (in their TODO extension and in Problems).
It seems like the best solution would be for VS Code to have some native concept for TODOs. This could be new, or it could simple be a new Diagnostic type, which can be filtered out of Problems and shown in another window (this reduces the need for new APIs, adding only a new diagnostic kind).
Having a seperate pane would also allow for seperate search/filters. For example in many repositories it’s common to use TODO(myname):
as a prefix. Being able to filter to myname
in a TODO pane (to avoid seeing other users TODOs) without also hiding all the errors/warnings would be very useful.
Issue Analytics
- State:
- Created a year ago
- Reactions:58
- Comments:5 (1 by maintainers)
Top GitHub Comments
🙂 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!
Just adding support here. TODO items are similar to Github Issues: they’re a representation of a backlog. Problems/Errors/Warnings aren’t a backlog: they’re immediate feedback on the current task at hand. If there’s anything in the problems window, I really should fix that before I can proceed. It would be nice to keep these two separate.