Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Git changes not showing in file editor #212915

Closed
cquick01 opened this issue May 16, 2024 · 5 comments
Closed

Git changes not showing in file editor #212915

cquick01 opened this issue May 16, 2024 · 5 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@cquick01
Copy link

cquick01 commented May 16, 2024

Type: Bug

Lines that have been modified according to Git are not showing up highlighted in the editor like normal. Usually there is a color near the line numbers showing lines that have changed (green added, red deleted, blue modified), along with similar colors near the scroll bar.

It happens with all of my repos, but also with creating an empty test repo. All extensions are disabled.

Usually we see something like this

image

  1. Open new empty directory in VSCode
  2. Initialize git repo, either with cli or through the Source Control panel
  3. Create some empty file, add and commit with git
    Screenshot 2024-05-16 123938
  4. Modify and save the file
    Screenshot 2024-05-16 124004
  5. See that the file shows as modified in the file explorer, but there is no indication of modified lines in the editor, only in the actual diff explorer
    Screenshot 2024-05-16 124028

VS Code version: Code - Insiders 1.90.0-insider (0cd8d6a, 2024-05-16T05:49:53.998Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Remote OS version: Linux x64 5.15.153.1-microsoft-standard-WSL2

System Info
Item Value
CPUs Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 x 2592)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
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_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Load (avg) undefined
Memory (System) 31.73GB (15.48GB free)
Process Argv
Screen Reader no
VM 0%
Item Value
Remote WSL: Ubuntu-22.04
OS Linux x64 5.15.153.1-microsoft-standard-WSL2
CPUs Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 x 0)
Memory (System) 11.68GB (10.23GB free)
VM 0%
Extensions (1)
Extension Author (truncated) Version
remote-wsl ms- 0.88.2
@fai8146767
Copy link


@ssalbdivad
Copy link

I've been having the same issue on WSL for the last few days. Tried disabling all extensions etc. so it seems like a regression in VSCode?

@lszomoru Would be great to get some eyes on this. I'm constantly confused about why the files I'm working on don't look modified until I remember this.

@ovidiuc
Copy link

ovidiuc commented May 22, 2024

I think it duplicates #212857

@lszomoru
Copy link
Member

Closing as duplicate of #212857

@lszomoru lszomoru added the *duplicate Issue identified as a duplicate of another issue(s) label May 29, 2024
@fai8146767
Copy link


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
*duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

5 participants