analyzer: convert async to sync function and vice versa #23962
Labels
area-devexp
For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.
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
I would wish that some refactoring like this existed in webstorm:
refactor async to sync function (and vice versa)
I guess this is something for the analyzer ? For example, say I begin my program like this:
After a while I find out that I need it to be async. I would like that I could refactor this, with just one shortcut to:
Also things like:
should then become:
The text was updated successfully, but these errors were encountered: