Refactorings and quick-fixes are one of the areas that set IDEs apart from text editors. With them, you can quickly move parts of code around in a safe manner, rename identifiers or change function/method signature across large codebases, extract interfaces from existing types, and even extract/inline values.
As such, it should come as no surprise that we gave them a bit of a tweak in 2019.2, and made them even better.
Refactorings in 2019.2
Let’s start with the improved Extract Method refactoring.
Previously, it was not possible to use it with code that contained a return statement. T