Is it possible to change these folders for Visual Studio Code?
C:\Users\<USER>\.vscode
C:\Users\<USER>\AppData\Roaming\Code
I want these folders to be on one custom place. I want to sync these folders with Google Drive for example. I dont want to use extensions, this is no option for me.
答案 0 :(得分:0)
您可以使用符号链接(using the mklink
command),VSCode无需明确支持它(I don't think it does at the moment)。
例如,我使用符号链接来共享VSCode和VSCode Insiders之间已安装的扩展,这意味着我的:
C:\Users\<USER>\.vscode-insiders\extensions
文件夹是指向
的符号链接C:\Users\<USER>\.vscode\extensions
为此,我在cmd
中运行了以下内容:
mklink /D C:\Users\<USER>\.vscode-insiders\extensions C:\Users\<USER>\.vscode\extensions
当然,您也可以在Google云端硬盘中的某个文件夹中添加符号链接。