RubyMine
 
Get RubyMine
You are viewing the documentation for an earlier version of RubyMine.

Structural search and replace

Last modified: 09 August 2022

A conventional search process does not take into account the syntax and semantics of the source code. Even if you use regular expressions, RubyMine still treats your code as a regular text. The structural search and replace (SSR) actions let you search for a particular code pattern or grammatical construct in your code considering your code structure.

RubyMine finds and replaces fragments of source code, based on the search templates that you create and conditions you apply.