1.0 KiB
1.0 KiB
Mastering the IDE: Search and Replace
You can search and then replace any text in a file.
Press &shortcut:Find; for Find
and
&shortcut:Replace; for Replace
.
Alternatively, you can choose Edit
menu item
from the application menu, then choose
Find
from the list below, and then
Find...
one more time.
By choosing Replace...
instead of Find...
you can specify the
replacement string.
Replace all the foo
expressions in the file with bar
.
Note that you can press &shortcut:Find;, start typing, then press &shortcut:Replace; and the history is preserved. Pressing &shortcut:Replace; adds field, where you can type the replace string.
Click on the small arrow to the left of the typing window to see the search history.