Given :
function hide(){
displayer.hide(error);
}
Refactored the function name yields:
function refactored_to_new_name() {
displayer.refactored_to_new_name(error);
}
Is there a way to prevent intellij from doing this.
Why does it think it has the right to assume it is intelligent?
These kinds of refactorings should never fail, but intellij does it way too often. It assumes things.
Search in comments and strings are disabled.
You might not be able to reproduce this, but it doesn't mean it didn't just happen.