更改Visual Studio Code中的默认打开和保存位置? [英] Change default opening and saving location in Visual Studio Code?

查看:2481
本文介绍了更改Visual Studio Code中的默认打开和保存位置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试打开和/或保存文件时是否可以更改默认的打开和保存位置.

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.

当然,您可以做的只是在VSCode中将〜/Desktop作为文件夹打开.然后,自动将您的默认保存位置与您想要的完全一样.

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.

这篇关于更改Visual Studio Code中的默认打开和保存位置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆