microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
162.36k stars 28.6k forks source link

Git Gutter Indicators Missing #177135

Closed andre-luis33 closed 1 year ago

andre-luis33 commented 1 year ago

Type: Bug

Please help me, i have tried several solutions online but none of them worked (including reinstalling vscode and git). I don't know what else to do. Coding without gutter indicators decreased my productivity in a way that I can't put in words :(

VS Code version: Code 1.76.1 (5e805b79fcb6ba4c2d23712967df89a089da575b, 2023-03-08T16:32:00.131Z) OS version: Windows_NT x64 10.0.19045 Modes: Sandboxed: No

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i5-7400 CPU @ 3.00GHz (4 x 3000)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off| |Load (avg)|undefined| |Memory (System)|15.95GB (7.13GB free)| |Process Argv|--crash-reporter-id e8cf1d08-4ed6-4f04-a989-3213aec17ef0| |Screen Reader|no| |VM|0%|
Extensions (69) Extension|Author (truncated)|Version ---|---|--- Bookmarks|ale|13.3.1 project-manager|ale|12.7.0 vscode-sqlite|ale|0.14.1 snapshot-tools|asv|0.4.0 vscode-imagemin|axe|0.5.1 vscode-intelephense-client|bme|1.9.5 laravel-blade|cjh|1.1.2 vscode-sql-beautify|cla|0.3.18 blank-line-organizer|ctf|0.1.5 vscode-php-getters-setters-cv|cve|1.6.1 vscode-markdownlint|Dav|0.49.0 vscode-eslint|dba|2.4.0 githistory|don|0.6.20 gitlens|eam|13.3.2 EditorConfig|Edi|0.16.4 auto-rename-tag|for|0.1.10 code-runner|for|0.12.0 vscode-mysql|for|0.4.1 vscode-google-translate|fun|1.4.13 gc-excelviewer|Gra|4.2.56 minify|Hoo|0.4.3 discord-vscode|icr|5.8.0 vscode-random|jre|1.11.0 auto-save|mcr|1.0.3 document|min|2.2.1 vscode-filesize|mkx|3.1.0 vscode-azureresourcegroups|ms-|0.6.1 vscode-docker|ms-|1.24.0 data-workspace-vscode|ms-|0.4.0 mssql|ms-|1.17.1 isort|ms-|2022.8.0 python|ms-|2023.4.1 vscode-pylance|ms-|2023.3.20 jupyter|ms-|2023.2.1200692131 vscode-jupyter-cell-tags|ms-|0.1.6 vscode-jupyter-slideshow|ms-|0.1.5 remote-wsl|ms-|0.76.1 azure-account|ms-|0.11.3 vsliveshare|ms-|1.0.5834 color-highlight|nau|2.5.0 vs-browser|Phu|2.0.10 material-icon-theme|PKi|4.24.0 vscode-css-peek|pra|4.2.0 sqlite-viewer|qwt|0.2.3 vscode-thunder-client|ran|2.5.1 java|red|1.15.0 LiveServer|rit|5.7.9 todotasks|san|0.5.0 vscode-javascript-booster|sbu|14.0.1 code-settings-sync|Sha|3.4.3 markdown-preview-enhanced|shd|0.6.8 vscode-styled-components|sty|1.7.5 tabnine-vscode|Tab|3.6.42 python|tht|0.2.3 pdf|tom|1.2.2 vscode-pets|ton|1.22.0 intellicode-api-usage-examples|Vis|0.2.7 vscodeintellicode|Vis|1.2.30 vscode-java-debug|vsc|0.49.0 vscode-java-dependency|vsc|0.21.1 vscode-java-pack|vsc|0.25.9 vscode-java-test|vsc|0.38.1 vscode-maven|vsc|0.40.4 vscode-css-variables|vun|2.6.3 vscode-wakatime|Wak|24.0.7 quokka-vscode|Wal|1.0.528 JavaScriptSnippets|xab|1.8.0 markdown-all-in-one|yzh|3.5.0 material-theme|zhu|3.15.8 (2 theme extensions excluded)
A/B Experiments ``` vsliv368:30146709 vsreu685:30147344 python383cf:30185419 vspor879:30202332 vspor708:30202333 vspor363:30204092 vstes627:30244334 vslsvsres303:30308271 pythonvspyl392:30443607 vserr242:30382549 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vsdfh931:30280409 vshan820:30294714 vstes263:30335439 pythondataviewer:30285071 vscod805:30301674 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 cmake_vspar411:30581797 vsaa593cf:30376535 pythonvs932:30410667 cppdebug:30492333 vscaac:30438847 vsclangdc:30486549 c4g48928:30535728 dsvsc012:30540252 pynewext54:30681850 azure-dev_surveyone:30548225 vsccc:30610678 pyindex848:30662994 nodejswelcome1cf:30587006 2e4cg342:30602488 pyind779:30671433 f6dab269:30613381 pythonsymbol12:30671437 2i9eh265:30646982 pythonb192cf:30669361 funwalk2cf:30682975 pythonms35cf:30686773 ```
andre-luis33 commented 1 year ago

I was able to make it work by increasing the width of the gutter.

In settings.json:

"scm.diffDecorationsGutterWidth": 4

Not all files are working, but at least a few of them are