- Open VS Code.
- Click on File.
- Then find Preferences -> settings.
- Click on the Text Editor in the left side menu.
- Then Click on Diff Editor.
- Locate the Show Moves Setting.
- Check or Uncheck: Controls whether the diff editor should show detected code moves.