Skip to content

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

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

Closed
Pante opened this issue Oct 23, 2022 · 4 comments
Closed

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

Pante opened this issue Oct 23, 2022 · 4 comments
Labels
area-devexp For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages. devexp-quick-fix Issues with analysis server (quick) fixes 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 legacy-area-analyzer Use area-devexp instead. 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 devexp-quick-fix Issues with analysis server (quick) fixes 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.

@bwilkerson bwilkerson added area-devexp For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages. and removed legacy-area-analyzer Use area-devexp instead. labels Feb 21, 2025
@FMorschel
Copy link
Contributor

@srawlins, since we now even have:

This can be closed now.

@srawlins
Copy link
Member

srawlins commented Mar 4, 2025

Woohoo! Thanks much!

@srawlins srawlins closed this as completed Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-devexp For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages. devexp-quick-fix Issues with analysis server (quick) fixes 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

6 participants