-
Notifications
You must be signed in to change notification settings - Fork 29.5k
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
Add a specific panel for TODO-style comments #162455
Comments
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. |
One of the more popular extensions for this is Todo Tree: https://marketplace.visualstudio.com/items?itemName=Gruntfuggly.todo-tree I agree that making it a native feature is a good idea. |
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! |
🙂 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! |
Came here from https://dartcode.org/upstream-issues. This would be a fantastic addition to VS Code. |
Other 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 tomyname
in a TODO pane (to avoid seeing other users TODOs) without also hiding all the errors/warnings would be very useful.The text was updated successfully, but these errors were encountered: