Is it possible to change the default opening and saving location when trying to open and/or save a file.
The default location seems to be the root, but I would like it to be the desktop.
Is it possible to change the default opening and saving location when trying to open and/or save a file.
The default location seems to be the root, but I would like it to be the desktop.
I haven't found anything in the Preferences settings that would support this, nor found anything stating that this is supported.
As you've stated yourself, the default location is the root of your system. At least, if you aren't working in a folder.
What you could do, of course, is simply open your ~/Desktop as a folder in VSCode. Then, automatically, your default save location is exactly as you'd like it to be.
In case anyone is still looking for this, you set this in settings.json using the key "git.defaultCloneDirectory"
What worked for me:
Find the path of the folder - in my case it was in C:\Users\username\OneDrive\GitHub...
To change it:
Every file should open up as long as you open up the parent folder to the smaller directories.
Hope this helps. -Gorillana
You can change the location of your projects/solutions.
File -> Open -> Projects/Solutions
To do this modify
Tools -> Options -> Projects and Solutions -> Locations
I think that's the closest you can get.
The topic is documented in multiroot workspaces. https://code.visualstudio.com/docs/editor/multi-root-workspaces
Just for reading, though I couldn't find default folder config by the first look into the article.