-
Notifications
You must be signed in to change notification settings - Fork 340
Description
The default setting is to show TODOs in the Problem list. Some projects (like Dart and Flutter!) use TODOs a lot and showing them here is inconvenient.
If we detect a project has a large number (>50? >100?) of TODOs after initial analysis, we could prompt the user:
Your project has a large number of TODOs. Would you like to prevent them from creating diagnostics?
[Disable TODOs Globally] [Disable TODOs for Project] [Don't Ask Again]
Where:
- Disable globally = set doNotShow and change the setting in User Settings
- Disable for project = set for project, but keep prompt enabled for future projects
- Don't ask again = set doNotShow
It's probably not worth having a "Do not show for this project" because once the user has dismissed the prompt, they will be aware of the setting (and it avoids having too many options). But we should also skip the prompt if the user has an explicit setting set (regardless of what it is) because it's clear they're aware of the setting and have set it.