Using the Find/Replace dialog
To open the Find / Replace dialog:
-
Optionally, select some text in a text (or Java) editor
-
Press Ctrl+F or
-
From the menu bar, select Edit > Find / Replace
To use the Find / Replace dialog:
-
In the Find field, enter the text you want
to replace
-
Optionally, in the Replace With field,
enter the next text
- Use the radio buttons in the Direction
group to select the direction of finding occurrences (relative to the current
caret position)
-
In the Scope radio button group:
-
Select the Selected Lines button if you
want to limit find / replace to the lines you selected when opening the
dialog
-
Select the All button otherwise
-
In the Options group:
-
Select the Case Sensitive checkbox if you
want finding to be case sensitive.
-
Select the Whole Word checkbox if you want
to find / replace only those occurrences in which the text you entered
in the Find field is a whole word
-
Select the Wrap Search checkbox if you
want the dialog to continue from the top of the file once the bottom is
reached (if you find / replace in Selected Lines only, then this option
applies to those lines only)
-
Select the Incremental checkbox if you
want to perform incremental find (e.g. the dialog will find matching occurrences
while you are typing in the Find field)
-
Press:
-
Find if you want to find the next matching occurrence
-
Replace, if you want to replace the currently
selected occurrence with the new text
-
Replace / Find, if you want to replace the currently
selected occurrence with the new text and find the next matching occurrence
-
Replace All, if you want to replace all matching
occurrences with the new text
-
Press Close.