- Open VS Code.
- Click on File.
- Then find Preferences -> settings.
- Click on the Text Editor in the left side menu.
- Locate the Multi Document Occurrences Highlight Setting.
- Check or uncheck: Experimental: Controls whether the editor should highlight word occurrences accross multiple open editors.