-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
P3A lower priority bug or feature requestA lower priority bug or feature requestarea-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.devexp-refactoringIssues with analysis server refactoringsIssues with analysis server refactoringstype-enhancementA request for a change that isn't a bugA request for a change that isn't a bug
Description
Today we have the Extract Method
refactor and a Convert Getter to Method
rewrite. This request is actually a two part one:
- If the extracted content has no need for local variables, suggest a new
Extract Getter
- If a method has no parameters and returns something other than
void
suggest a newConvert Method to Getter
We could also think about a similar requests for setter
s if the return type is void
and it takes one parameter only, but that may be something that happens less frequently.
Any suggestions for this are appreciated.
Metadata
Metadata
Assignees
Labels
P3A lower priority bug or feature requestA lower priority bug or feature requestarea-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.devexp-refactoringIssues with analysis server refactoringsIssues with analysis server refactoringstype-enhancementA request for a change that isn't a bugA request for a change that isn't a bug