I already forgot -- does IntelliJ refactoring support function rename with argument reordering?
Anyway as soon as you decide that the argument type changes, it is better to go manually over all the places your function is called to validate that you don't rely on some nasty casting.
For me the most useful refactoring tool that is beyond rename is "extract method" and its weaker sibling "extract variable".
When I programmed in Java in IntelliJ I remember that "extract method" knew to detect similar blocks in the same class and offered it as an option, but I don't remember it doing over several classes.
no subject
Date: 2024-05-10 09:30 am (UTC)Anyway as soon as you decide that the argument type changes, it is better to go manually over all the places your function is called to validate that you don't rely on some nasty casting.
For me the most useful refactoring tool that is beyond rename is "extract method" and its weaker sibling "extract variable".
When I programmed in Java in IntelliJ I remember that "extract method" knew to detect similar blocks in the same class and offered it as an option, but I don't remember it doing over several classes.