首页 > 其他 > 详细

文件夹和文件 右键从vscode 打开

时间:2021-03-16 17:35:12      阅读:26      评论:0      收藏:0      [点我收藏+]

新建文件名称: vscode.reg

 

文件内容:

Windows Registry Editor Version 5.00

; Open files
[HKEY_CLASSES_ROOT\*\shell\Open with VS Code]
@="Edit with VS Code"
"Icon"="C:\\Users\\24330\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe,0"

[HKEY_CLASSES_ROOT\*\shell\Open with VS Code\command]
@="\"C:\\Users\\24330\\AppData\\Local\\Programs\\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 in VScode"
"Icon"="\"C:\\Users\\24330\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe\",0"

[HKEY_CLASSES_ROOT\Directory\shell\vscode\command]
@="\"C:\\Users\\24330\\AppData\\Local\\Programs\\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 in VScode"
"Icon"="\"C:\\Users\\24330\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe\",0"

[HKEY_CLASSES_ROOT\Directory\Background\shell\vscode\command]
@="\"C:\\Users\\24330\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe\" \"%V\""

文件夹和文件 右键从vscode 打开

原文:https://www.cnblogs.com/gllIT/p/14543412.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!