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