Add Overload Bool

Refactor a method to change its signature and update your code to reflect the new signature.

You can use ⇧F6 (macOS) / Shift+F6 (Windows/Linux) to change the signature of a method and add a new boolean parameter to it. You can then select Delegate via overloading method to complete the refactor.


Related Resources

Extract Method
Extract Method
Extract code to a new method.
Inline Variable
Inline Variable
Sometimes inlining a variable can make your code more readable.
Introduce Variable
Introduce Variable
Refactor your code and introduce a new variable right when you need it.