- 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 Code Lens Setting.
- Check or Uncheck: Controls whether the editor shows CodeLens.
How To Enable/Disable Code Lens Diff Editor VSCode
Related Guides