microsoft / vscode

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

VSCode doesn't recognize file changes #230382

Open eetupulkkinen opened 3 days ago

eetupulkkinen commented 3 days ago

Type: Bug

I don't know a sure way to reproduce the bug. What happens is that I need to 'reload' my vscode daily, usually multiple times.

Usually it happens after pushing my changes to source control, or changing branches.

What happens is that I make file changes and save the file, the file name doesn't turn yellow and the changed file doesnt pop up in source control. It is fixed by using 'Developer: Reload Window' function in vscode, but it's annoying to do multiple times in a single session.

VS Code version: Code 1.93.0 (4849ca9bdf9666755eb463db297b69e5385090e3, 2024-09-04T13:02:38.431Z) OS version: Darwin arm64 23.6.0 Modes:

System Info |Item|Value| |---|---| |CPUs|Apple M2 Pro (12 x 2400)| |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
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off| |Load (avg)|1, 2, 2| |Memory (System)|32.00GB (0.08GB free)| |Process Argv|--crash-reporter-id 7addafe9-5ed2-4532-af0c-ae917adae4a6| |Screen Reader|no| |VM|0%|
Extensions (16) Extension|Author (truncated)|Version ---|---|--- vscode-apollo|apo|2.3.3 atlascode|atl|3.0.10 vscode-tailwindcss|bra|0.12.11 javascript-ejs-support|Dig|1.3.3 xml|Dot|2.5.1 gitlens|eam|15.5.1 prettier-vscode|esb|11.0.0 copilot|Git|1.235.0 copilot-chat|Git|0.20.3 vscode-docker|ms-|1.29.3 playwright|ms-|1.1.7 vscode-thunder-client|ran|2.27.0 vscode-yaml|red|1.15.0 ejs-snippets|Tao|0.1.0 pdf|tom|1.2.2 pretty-ts-errors|Yoa|0.6.0
A/B Experiments ``` vsliv368cf:30146710 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscod805cf:30301675 binariesv615:30325510 vsaa593cf:30376535 py29gd2263:31024239 c4g48928:30535728 azure-dev_surveyone:30548225 2i9eh265:30646982 962ge761:30959799 pythongtdpath:30769146 welcomedialog:30910333 pythonnoceb:30805159 asynctok:30898717 pythonmypyd1:30879173 2e7ec940:31000449 pythontbext0:30879054 accentitlementst:30995554 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 cppperfnew:31000557 dsvsc020:30976470 pythonait:31006305 dsvsc021:30996838 bdiig495:31013172 a69g1124:31058053 dvdeprecation:31068756 dwnewjupyter:31046869 newcmakeconfigv2:31071590 impr_priority:31102340 nativerepl2:31139839 refactort:31108082 pythonrstrctxt:31112756 flighttreat:31134774 wkspc-onlycs-t:31132770 nativeloc2:31134642 wkspc-ranged-t:31125599 cf971741:31144450 defaultse:31146405 notype1:31150297 5fd0e150:31146321 ```
vs-code-engineering[bot] commented 3 days ago

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.93.1. Please try upgrading to the latest version and checking whether this issue remains.

Happy Coding!

unional commented 2 days ago

Notice the same issue. Need to manually click on the source control refresh button. image

xy-23 commented 1 day ago

same issue

Version: 1.94.0
Commit: d78a74bcdfad14d5d3b1b782f87255d802b57511
Date: 2024-10-02T13:08:12.626Z
Electron: 30.5.1
ElectronBuildId: 10262041
Chromium: 124.0.6367.243
Node.js: 20.16.0
V8: 12.4.254.20-electron.0
OS: Darwin arm64 23.6.0