1
1
Fork 0
AtomicKotlinCourse/Programming Basics/String Templates/Exercise 4/task.md

1006 B

Mastering the IDE: Search and Replace

You can search for and replace any text in a file. Press &shortcut:Find; for Find and &shortcut:Replace; for Replace.

You can also choose Edit from the application menu, then choose Find from the list below, then Find... one more time. By choosing Replace... instead of Find... you can specify a replacement string.

Replace all instances of foo 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 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.