VSCode problem showing paths in folder /run/user/1000/doc
Asked Answered
M

1

7

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.

Malocclusion answered 25/4, 2023 at 9:3 Comment(6)
A Snap issue perhaps? Try installing non-snap VSC.Oestrone
will i lose my configuration?Malocclusion
No idea, but copying settings.json, keybindings.json and installing extensions again should be simple.Oestrone
yes it's working, but old projects are still with the '/run/user/1000/...' path. Do you have any idea how to fix them? and how to fix the VSC snap? Note also that configuration didn't change after installation from .debMalocclusion
Nope, don't know.Oestrone
Possibly helpful: #75210121 and unix.stackexchange.com/a/162911/377222Olivenite
O
2

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

Olivenite answered 16/5, 2023 at 15:0 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.