Structural Search and Replace (SSR) performs search and replace across the project, taking advantage of the IntelliJ IDEA's awareness of the Java syntax and code structure.
IntelliJ IDEA finds, and if required, replaces fragments of source code, using the search templates.
Structural Search and Replace is helpful when you need to browse through or modify an extensive code base, find changes in libraries, explore the source code for specific constructs, or refactor the source code.
Besides Java, Structural Search and Replace also works for XML and HTML.
In this section: