window 鼠标右键缺失【Open With Visual Studio Code】

1、卸载重装,有自己的设置肯定是不想的,那么这第一条就需要给它 pass ,如果是你第一次安装或者是新电脑出现没选择的状况下,建议您直接卸载重装。

2、桌面创建一个 xxx.reg 的注册表文件 xxx 随便您命名,怎么开心怎么来,然后将下方的代码放入其中,保存运行即可。

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\Visual Studio Code]

@="Open With Visual Studio Code"

"Icon"="D:\\Microsoft VS Code\\Code.exe"

[HKEY_CLASSES_ROOT\*\shell\Visual Studio Code\command]

@="\"D:\\Microsoft VS Code\\Code.exe\" \"%1\""

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\shell\Visual Studio Code]

@="Open With Visual Studio Code"

"Icon"="D:\\Microsoft VS Code\\Code.exe"

[HKEY_CLASSES_ROOT\Directory\shell\Visual Studio Code\command]

@="\"D:\\Microsoft VS Code\\Code.exe\" \"%V\""

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\Background\shell\Visual Studio Code]

@="Open With Visual Studio Code"

"Icon"="D:\\Microsoft VS Code\\Code.exe"

[HKEY_CLASSES_ROOT\Directory\Background\shell\Visual Studio Code\command]

@="\"D:\\Microsoft VS Code\\Code.exe\" \"%V\""

 

Icon = 图标路径

@ = 软件路径

 

具体的路径自己查找。。。

 

see you next post.....(#^.^#)

posted @ 2022-05-03 22:19  我就丶是逗比  阅读(205)  评论(0)    收藏  举报