Skip to content

Enhance convert-to-mixin quick assist #34661

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

Open
bwilkerson opened this issue Oct 3, 2018 · 2 comments
Open

Enhance convert-to-mixin quick assist #34661

bwilkerson opened this issue Oct 3, 2018 · 2 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 P2 A bug or feature request we're likely to work on type-enhancement A request for a change that isn't a bug

Comments

@bwilkerson
Copy link
Member

Server has a "convert to mixin" quick assist.

It currently only works at the declaration site of the class to be converted. It would be nice if it also worked at the use sites (where the class is included in a with clause.

We should also consider supporting the case where a class is used as both a class and a mixin. The transformation is here (#57774). We might well want this to be a separate "convert to mixin and class" assist.

@bwilkerson bwilkerson added legacy-area-analyzer Use area-devexp instead. devexp-quick-fix Issues with analysis server (quick) fixes type-enhancement A request for a change that isn't a bug labels Oct 3, 2018
@bwilkerson
Copy link
Member Author

@danrubel

@bwilkerson bwilkerson added the P2 A bug or feature request we're likely to work on label Oct 3, 2018
@asashour
Copy link
Contributor

asashour commented Sep 7, 2021

@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
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 P2 A bug or feature request we're likely to work on type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

2 participants