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

Quick-fix for comment_references when an element could be imported #50279

Open
Pante opened this issue Oct 23, 2022 · 2 comments
Open

Quick-fix for comment_references when an element could be imported #50279

Pante opened this issue Oct 23, 2022 · 2 comments
Labels
analyzer-quick-fix 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

@Pante
Copy link

Pante commented Oct 23, 2022

Dart version: 2.18.2

I'm not sure if this is the correct repository to suggest this, please do let me know if it's not.

At the moment, comment_references will display a warning if a reference is invalid.
doc_comments

However, no quick fix is available for it. It will be great QOL improvement if there is a quick fix that suggests possible packages/files to import the reference from.

@lrhn lrhn added the area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. label Oct 23, 2022
@srawlins srawlins changed the title Quick-fix for comment_references Quick-fix for comment_references when an element could be imported Oct 24, 2022
@srawlins srawlins added P3 A lower priority bug or feature request analyzer-quick-fix type-enhancement A request for a change that isn't a bug labels Oct 24, 2022
@Number-3434
Copy link

I would find this very useful.

@srawlins
Copy link
Member

CC @kallentu for #50702; you might even basically be working on this for the Flutter migration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
analyzer-quick-fix 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