vscode 右键打开


Windows Registry Editor Version 5.00

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

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

Windows Registry Editor Version 5.00

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

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

Windows Registry Editor Version 5.00

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

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

  新建一个text文件,重命名为123.reg

把上面注册列表信息复制进来,然后放在vscode安装的路径下

放在和当前文件相同的文件夹下

注意修改123.reg中所有文件路径(每个人vscode安装的路径是不一样的)

然后双击,“确定” 把注册列表添加即可。

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM