Initializing help system before first use

Replacing Text Across Many Files

To replace all occurrences of a text string in all project files with another text string:
  1. Open the Find menu and click Find in Files.
    • On Windows, you can instead press Ctrl-Shift-F.
    • On macOS, you can instead press Cmd-Shift-F.
  2. In the Find box that appears below the editor, type the text string you want to find.
  3. (Optional) In the box to the right of the find button, enter a pattern for the filenames you want to match. Several patterns can be separated by a comma, and files can be excluded by beginning a pattern with a minus sign.
    By default, all files are matched except those whose names begin with a dot.
  4. In the Replace With box, to the right of the Find box, type the string with which you want to replace the found text.
  5. Click Replace.