I recently got a problem in VSCode after updating to v1.77.3 where the path for new projects is wrong, while for old projects it's correct.
In particular, new projects are opened in folders prefixed with /run/user/100/doc/ followed by a sha256 like digest that varies per folder.
Usually new projects were opened where I wanted them to be, in my home folder ~/
I'm using Ubuntu Linux and installed vscode through snap.
This is a bug in VSCode 1.77 that seems to have been fixed in VSCode 1.78.
So get your update and you should be fine.
Relevant VS code Github issue: New saved files show breadcrumb path as /run/user
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With