vscode 怎么添加桌面右键

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT*\shell\VSCode]
@="Open with Code"
"Icon"="D:\Program Files\Microsoft VS Code\Code.exe"

[HKEY_CLASSES_ROOT*\shell\VSCode\command]
@=""D:\Program Files\Microsoft VS Code\Code.exe" "%1""

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\shell\VSCode]
@="Open with Code"
"Icon"="D:\Program Files\Microsoft VS Code\Code.exe"

[HKEY_CLASSES_ROOT\Directory\shell\VSCode\command]
@=""D:\Program Files\Microsoft VS Code\Code.exe" "%V""

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\Background\shell\VSCode]
@="Open with Code"
"Icon"="D:\Program Files\Microsoft VS Code\Code.exe"

[HKEY_CLASSES_ROOT\Directory\Background\shell\VSCode\command]
@=""D:\Program Files\Microsoft VS Code\Code.exe" "%V""

这个文件里面路径应该都是 双D:\\ ,自己修改一下

保存到一个txt文件, 然后改或追为 test.reg 双击就可以了。 里面的目录需要自己替换成自己vscode的安装目录。

你可能感兴趣的:(vscode 怎么添加桌面右键)