Press Ctrl+F to open a Find tool that you can use to search for text, and replace it if needed, in methods. In the
Find tool, you can click
All to search the entire application, including user interface components, model entity tags, operation identifiers, and labels. For example, searching for method also finds all methods, including all local methods, in addition to finding all occurrences of the text
Label. Click
Methods to find and optionally replace a string in methods.
Under Find in methods, click
Current to search only in the current method, or click
All to search all methods. Under
Direction, click
Forward or
Backward to control the search direction in the method. Select the
Case sensitive check box to make the search case sensitive (the search string must match the text exactly, including uppercase and lowercase characters).
Click Find Next to find the next occurrence of the search string. Click
Replace to replace it with the string in the
Replace with text field. Click
Replace All to search and replace all occurrences of the search string with the string in the
Replace with text field.
Click the Find All button to launch the search and display the search results in a
Find Results window, where each occurrence of the search string appears in a row. Double-click the row to highlight the search result in the method where it occurs. The
Method column lists the method where the search string appears, the
Line column lists the line where the string appears, and the
Text column shows the text in which the search string appears.
Click the Refresh button (
) in the top-left corner of the
Find Results window to perform the search or search-replace action again and refresh the contents of the
Find Results window.