离线Vscode 安装完成后 添加到右键菜单

复制下面代码,修改文件后缀名为:reg

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\VSCode]
@="Open with Code"
"Icon"="D:\\_Porgram_IT\\VsCode\\Code.exe"

[HKEY_CLASSES_ROOT\*\shell\VSCode\command]
@="\"D:\\_Porgram_IT\\VsCode\\Code.exe\" \"%1\""

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\shell\VSCode]
@="Open with Code"
"Icon"="D:\\_Porgram_IT\\VsCode\\Code.exe"

[HKEY_CLASSES_ROOT\Directory\shell\VSCode\command]
@="\"D:\\_Porgram_IT\\VsCode\\Code.exe\" \"%V\""

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\Background\shell\VSCode]
@="Open with Code"
"Icon"="D:\\_Porgram_IT\\VsCode\\Code.exe"

[HKEY_CLASSES_ROOT\Directory\Background\shell\VSCode\command]
@="\"D:\\_Porgram_IT\\VsCode\\Code.exe\" \"%V\""


离线Vscode 安装完成后 添加到右键菜单_第1张图片

你可能感兴趣的:(vscode,ide,编辑器,windows)