Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio Code files and folders do not automatically sync on disk

When I create new files and folders in VSC, or when I modify files and folders in VSC, changes are not reflected on the disk.

There has to be some setting where work done in VSC will be synced with the filed and folders on the disk.

Can anyone help?

Thanks, Cosmin

like image 903
Cosmin Bita Avatar asked Feb 28 '26 10:02

Cosmin Bita


1 Answers

This appears to be due to the "GitHub Pull Requests and Issues" extension. When I disable it, this problem seems to go away.

Open your Extensions sidebar, search for @installed git, right click on "GitHub Pull Requests and Issues", and click "Disable", then restart VS Code. Hopefully it works for you, too.

Test it by changing a file and opening it in a plaintext editor to verify the file on the filesystem has changed.

enter image description here


If you don't want to disable the Github extension, you can click the Syncronize Changes button in the bottom bar to sync your changes to the filesystem. I'm not sure what else this does, as I don't use the Github extension for version control, I use a third party client (GitKraken)

enter image description here

Very annoying "feature".

like image 133
Sean Kendle Avatar answered Mar 02 '26 14:03

Sean Kendle



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!