Finding Usages in Project
RubyMine provides different search options depending on whether you are searching for usages of a class, method, field, parameter, or throw statements, and extends search for usages to the files in supported languages. For example, in CSS, XML and HTML files you can search for the usages of styles, classes, tags and attributes.
Search for usages extends to the Cucumber step definitions as well.
Explore search results in the Find tool window.
Finding usages of a symbol in a project
- Select a symbol to find usages for. To do that, place the caret within the desired symbol in the editor, or click the symbol in the Project Tool Window. You can also select symbol in the Model Dependency diagram.
- Do one of the following:
- In the Find tool window, explore search results. Use the button to represent search results in meaningful groups by type of usage.