vscode 右击文件||文件夹添加快捷方式

操作注册表步骤

1.按下win+R
2.输入redegit,打开注册表
3.找到HKEY_CLASSES_ROOT/*/shell路径
4.新建/项:命名Open with visual code
5.新建/项:命名command
6.双击command:在数值数据输入C:Program Files (x86)Microsoft VS CodeCode.exe "%1",下图的路径截图就是地址。"%1"添加上
7.HKEY_CLASSES_ROOT/directory/shell重复上述操作

路径

界面

结果

关联文件夹右击

原文地址:https://www.cnblogs.com/leee/p/7228077.html