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

Add support for moving classes between libraries #57057

Open
natebosch opened this issue Nov 8, 2024 · 1 comment
Open

Add support for moving classes between libraries #57057

natebosch opened this issue Nov 8, 2024 · 1 comment
Labels
analyzer-data-driven-fixes area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. P2 A bug or feature request we're likely to work on

Comments

@natebosch
Copy link
Member

This is a follow on to #48997

We can define a fix which uses replacedBy to move functions and variables to a new import, but cannot do the same with classes.

Can we either support replacedBy with classes, or add a movedTo operation which maintains the name and replaces only the import URI.

See dart-lang/test#1978 (comment)

@natebosch natebosch added area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. analyzer-data-driven-fixes labels Nov 8, 2024
@scheglov
Copy link
Contributor

scheglov commented Nov 8, 2024

@bwilkerson @keertip

@scheglov scheglov added the P2 A bug or feature request we're likely to work on label Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
analyzer-data-driven-fixes area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. P2 A bug or feature request we're likely to work on
Projects
None yet
Development

No branches or pull requests

2 participants