[feature-request] Support Extraction to superclass #36199
Labels
area-devexp
For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.
contributions-welcome
Contributions welcome to help resolve this (the resolution is expected to be clear from the issue)
devexp-refactoring
Issues with analysis server refactorings
P3
A lower priority bug or feature request
type-enhancement
A request for a change that isn't a bug
Thank you for taking the time to file an issue!
In order to route, prioritize, and act on this, please include:
I think it would be helpful if developers could extract a method or variable to the super class or parent class. Assuming the class is not part of the Dart SDK.
I see it like this:
After extracting the method, calculateArea() now resides in the polygon class. Thinking about this, it would be a good idea to provide options for making the extracted method an abstract or implemented method depending on use cases.
The text was updated successfully, but these errors were encountered: