I'm using VS Code with Git for version control, and the gutter indicators (showing added/modified/deleted lines) are working fine for all files except one specific file. Git is tracking the file correctly—it shows up in git status
and commits without issues—but VS Code refuses to display the change markers in the editor.
✅ What I've Tried So Far:
- Verified Git: Enable Gutter Indicators is checked in VS Code settings.
- Reloaded VS Code using Reload Window.
- Confirmed the file is not in .gitignore and not excluded in files.exclude or files.watcherExclude.
- Opened VS Code from the project root with
code .
. - Confirmed file encoding is UTF-8 and consistent line endings.
- Disabled GitLens and other Git-related extensions.
⚡ Environment Details:
- VS Code Version: 1.82.3
- OS: Windows
- Git Version: 2.33.0.windows.2