Skip to content
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

Let analyzer detect out of scope references in all comments #38767

Open
bergwerf opened this issue Oct 8, 2019 · 2 comments
Open

Let analyzer detect out of scope references in all comments #38767

bergwerf opened this issue Oct 8, 2019 · 2 comments
Labels
area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. P3 A lower priority bug or feature request type-enhancement A request for a change that isn't a bug

Comments

@bergwerf
Copy link

bergwerf commented Oct 8, 2019

I often use [reference] in my comments to refer to fields or variables. Sometimes when I refactor the analyzer helps to remind me that I have to update some comments. Unfortunately this does not work for non-documentation comments (i.e. //).

@vsmenon vsmenon added the area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. label Oct 8, 2019
@srawlins
Copy link
Member

CC @jcollins-g

@jcollins-g
Copy link
Contributor

this is something I do too. It would be nice if all comments were treated as documentation comments for this purpose, as sometimes even if it will not result in documentation, having the links for code navigation in IDEs is nice.

@srawlins srawlins added the P3 A lower priority bug or feature request label Jan 23, 2021
@srawlins srawlins added the type-enhancement A request for a change that isn't a bug label Nov 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. P3 A lower priority bug or feature request type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

4 participants