vscode: Diff decorators not showing in gutter
Issue Type: Bug
I cannot accurately pinpoint the cause and steps to reproduce. Last time I used VS Code, they were there, and now they are not. I have gone through many issues claiming this to be fixed through updates, but could not find a similar one for the latest version (1.56). Sorry if I’ve done something wrong in this issue, still sorta new to me 😃
- Init new repository or clone existing repository.
- Make a change to a file.
- Watch as diff decorators do not appear but the rest of git continues to function. Should be seeing something like this:
VS Code version: Code 1.56.2 (054a9295330880ed74ceaedda236253b4f39a335, 2021-05-12T17:13:13.157Z) OS version: Windows_NT x64 10.0.19042
System Info
Item | Value |
---|---|
CPUs | AMD Ryzen 7 3700X 8-Core Processor (16 x 3593) |
GPU Status | 2d_canvas: enabled gpu_compositing: enabled multiple_raster_threads: enabled_on oop_rasterization: enabled opengl: enabled_on rasterization: enabled skia_renderer: enabled_on video_decode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled |
Load (avg) | undefined |
Memory (System) | 15.95GB (9.99GB free) |
Process Argv | –crash-reporter-id f49753b1-2c31-498a-926b-66012f216a78 |
Screen Reader | no |
VM | 0% |
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
pythonvspyt602:30300191
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
pythonvspyt639:30300192
pythontb:30283811
pythonvspyt551:30291414
vspre833:30267464
pythonptprofiler:30281270
vshan820:30294714
pythondataviewer:30285071
vscus158:30286553
vscgsv2:30307504
vscorehov:30302759
bridgeflightcf:30302070
vscod805cf:30301675
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 19 (3 by maintainers)
Having the same issue, that what I tried too and it did not fix it :
Delete the file from git and local repository and create the file again, commit and push it
Uninstall Vscode and reinstall
Clear all of the Vscode caches : Press Ctrl + Shift + P Type command Clear Editor History and press enter or Another option for Mac users : go to ~/Library/Application Support/Code/Cache and ~/Library/Application Support/Code/CachedData and delete them.
git config core.ignorecase true or false
Remove all files, add them again, commit and push them
git rm -r --cached .
git add --all .
git commit -a -m "Versioning untracked files"
git push origin master
The solution as @Mr-Smarty wrote above is :
After that, I confirm everything is working without problems.
I find it hard to believe that the problem is with the operating system (MacOS or Windows) because I tried with Atom, Sublime, Pycharm, all of them were able to detect modified lines but VSCode was not.
Hope this will be resolved soon.