Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vscode使用记录 #16

Open
huaiguoguo opened this issue Aug 23, 2023 · 0 comments
Open

vscode使用记录 #16

huaiguoguo opened this issue Aug 23, 2023 · 0 comments

Comments

@huaiguoguo
Copy link
Owner

两种方法 可以把vscode的 home目录(.vscode)迁移到别的盘:

  • 第1种方法:
1、把用户目录.vscode\extensions 迁移到 x盘 的.vscode中;
2、 mklink /D "C:\Users\用户名\.vscode\extensions" "X:\xxxx\.vscode\extensions"
  • 第2种方法:

1、把用户目录.vscode\extensions 迁移到 x盘 的.vscode中;
2、右键vscode的快捷图标,在【目标】项的后面的输入框中的【原来的字符串后面】【加上空格】+【上面迁移的目录】:
比如: "x:\Program Files\Microsoft VS Code\Code.exe" --extensions-dir "x:\xxxx\.vscode\extensions"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant