当前位置:   article > 正文

Vscode 右键 open with code 没有的情况,使用以下注册表脚本

vue code 没有openwithcodo
Windows Registry Editor Version 5.00   
   
; Open files   
[HKEY_CLASSES_ROOT\*\shell\Open with VS Code]   
@="Edit with Code"   
"Icon"="C:\\Program Files\\Microsoft VS Code\\Code.exe,0"   
   
[HKEY_CLASSES_ROOT\*\shell\Open with VS Code\command]   
@="\"C:\\Program Files\\Microsoft VS Code\\Code.exe\" \"%1\""   
   
; This will make it appear when you right click ON a folder   
; The "Icon" line can be removed if you don't want the icon to appear   
   
[HKEY_CLASSES_ROOT\Directory\shell\vscode]   
@="Open with Code"   
"Icon"="\"C:\\Program Files\\Microsoft VS Code\\Code.exe\",0"   
   
[HKEY_CLASSES_ROOT\Directory\shell\vscode\command]   
@="\"C:\\Program Files\\Microsoft VS Code\\Code.exe\" \"%1\""   
   
   
; This will make it appear when you right click INSIDE a folder   
; The "Icon" line can be removed if you don't want the icon to appear   
   
[HKEY_CLASSES_ROOT\Directory\Background\shell\vscode]   
@="Open with Code"   
"Icon"="\"C:\\Program Files\\Microsoft VS Code\\Code.exe\",0"   
   
[HKEY_CLASSES_ROOT\Directory\Background\shell\vscode\command]   
@="\"C:\\Program Files\\Microsoft VS Code\\Code.exe\" \"%V\""   

  打开记事本,保存为:vsCodeOpenFolder.reg,双击执行即可

转载于:https://www.cnblogs.com/benlightning/p/10452237.html

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/盐析白兔/article/detail/276381
推荐阅读
相关标签
  

闽ICP备14008679号