配置VSCode右鍵菜單


修改注冊表,添加鼠標右鍵

 

選擇文件

Windows Registry Editor Version 5.00

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

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

 

選擇目錄

Windows Registry Editor Version 5.00

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

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

 

目錄空白處

Windows Registry Editor Version 5.00

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

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

 

Atom的類似

文件

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\Atom]

@="Open with Atom"

"Icon"="\"C:\\Users\\Administrator\\AppData\\Local\\atom\\app.ico\""

[HKEY_CLASSES_ROOT\*\shell\Atom\command]

@="\"C:\\Users\\Administrator\\AppData\\Local\\atom\\app-1.11.1\\atom.exe\" \"%1\""

 

 

目錄

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\shell\Atom]
@="Open with Atom"
"Icon"="\"C:\\Users\\Administrator\\AppData\\Local\\atom\\app.ico\""

[HKEY_CLASSES_ROOT\Directory\shell\Atom\command]
@="\"C:\\Users\\Administrator\\AppData\\Local\\atom\\app-1.11.1\\atom.exe\" \"%1\""

 

目錄空白處

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\Background\shell\Atom]
@="Open with Atom"
"Icon"="\"C:\\Users\\Administrator\\AppData\\Local\\atom\\app.ico\""

[HKEY_CLASSES_ROOT\Directory\Background\shell\Atom\command]
@="\"C:\\Users\\Administrator\\AppData\\Local\\atom\\app-1.11.1\\atom.exe\" \"%V\""

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM