- Open VS Code.
- Click on File.
- Then find Preferences -> settings.
- Click on the Text Editor in the left side menu.
- Then Click on Find.
- Locate the Loop Setting.
- Check or Uncheck: Controls whether the search automatically restarts from the beginning (or the end) when no further matches can be found.