16 lines
652 B
Markdown
16 lines
652 B
Markdown
## Mastering the IDE: Search and Replace
|
|
|
|
You can search for and replace any text in a file.
|
|
Press <span class="shortcut">&shortcut:Find;</span> for `Find` and
|
|
<span class="shortcut">&shortcut:Replace;</span> for `Replace`.
|
|
|
|
Replace all instances of `foo` in the file with `bar`.
|
|
|
|
Note that you can press <span class="shortcut">&shortcut:Find;</span>,
|
|
start typing, then press <span class="shortcut">&shortcut:Replace;</span>
|
|
and the history is preserved.
|
|
Pressing <span class="shortcut">&shortcut:Replace;</span> adds a 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.
|