description Change Signature Overview
When an API contract must changesuch as adding a required parameter, changing a return type, or renaming an argumentthis tool manages the ripple effect. It updates every single call site that uses the method, prompting the developer to handle the new signature, thereby managing backward compatibility gracefully across the codebase.
help Change Signature FAQ
What does Change Signature do in JetBrains IDEs?
Change Signature updates a function, method, or constructor signature and then applies the change across its call sites. In IntelliJ IDEA, PyCharm, WebStorm, and other JetBrains IDEs, it is part of the refactoring toolset rather than a simple text rename.
Can Change Signature add a required parameter without breaking every caller manually?
Yes, that is one of the main reasons to use it. The IDE can update usages and prompt for a default value or argument placement, which is much safer than manually editing dozens of calls.
Does Change Signature work across languages?
It depends on the JetBrains IDE and language plugin. IntelliJ IDEA supports this style of refactoring for Java and Kotlin, while PyCharm, PhpStorm, and WebStorm expose similar refactorings for their own language ecosystems.
When is Change Signature better than Find and Replace?
Use Change Signature when the API shape changes, such as parameter order, name, type, or default value. Find and Replace does not understand overloads, imports, or call-site semantics, while a JetBrains refactoring can use the project's code model.
explore Explore More
Similar to Change Signature
See all arrow_forwardReviews & Comments
Write a Review
Be the first to review
Share your thoughts with the community and help others make better decisions.