VS Code添加到右键菜单_艾孜尔江撰

使用时请注意更改下方的安装路径,同时特别注意最后一个路径后面加一个斜杠



Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT*shellVSCode]
@="Open with VSCode"
"Icon"="C:\Softwares\VSCode\Microsoft VS Code\Code.exe"

[HKEY_CLASSES_ROOT*shellVSCodecommand]
@=""C:\Softwares\VSCode\Microsoft VS Code\Code.exe" "%1""

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOTDirectoryshellVSCode]
@="Open with VSCode"
"Icon"="C:\Softwares\VSCode\Microsoft VS Code\Code.exe"

[HKEY_CLASSES_ROOTDirectoryshellVSCodecommand]
@=""C:\Softwares\VSCode\Microsoft VS Code\Code.exe" "%V""

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOTDirectoryBackgroundshellVSCode]
@="Open with VSCode"
"Icon"="C:\Softwares\VSCode\Microsoft VS Code\Code.exe"

[HKEY_CLASSES_ROOTDirectoryBackgroundshellVSCodecommand]
@=""C:\Softwares\VSCode\Microsoft VS Code\Code.exe" "%V""


效果:
在这里插入图片描述







作者:艾孜尔江

原文地址:https://www.cnblogs.com/ezhar/p/14925779.html