失眠网,内容丰富有趣,生活中的好帮手!
失眠网 > 将VSCode添加到鼠标右键菜单

将VSCode添加到鼠标右键菜单

时间:2020-11-23 12:12:56

相关推荐

将VSCode添加到鼠标右键菜单

第一步:

创建一个记事本名为vsCode.reg

后缀为.reg

第二步:

编辑记事本,将以下代码粘入

Windows Registry Editor Version 5.00[HKEY_CLASSES_ROOT\*\shell\VSCode]@="Open with Code""Icon"="D:\\mySoftwareAndGames\\software\\developSoftware\\visualStudioCode\\Code.exe"[HKEY_CLASSES_ROOT\*\shell\VSCode\command]@="\"D:\\mySoftwareAndGames\\software\\developSoftware\\visualStudioCode\\Code.exe\" \"%1\""Windows Registry Editor Version 5.00[HKEY_CLASSES_ROOT\Directory\shell\VSCode]@="Open with Code""Icon"="D:\\mySoftwareAndGames\\software\\developSoftware\\visualStudioCode\\Code.exe"[HKEY_CLASSES_ROOT\Directory\shell\VSCode\command]@="\"D:\\mySoftwareAndGames\\software\\developSoftware\\visualStudioCode\\Code.exe\" \"%V\""Windows Registry Editor Version 5.00[HKEY_CLASSES_ROOT\Directory\Background\shell\VSCode]@="Open with Code""Icon"="D:\\mySoftwareAndGames\\software\\developSoftware\\visualStudioCode\\Code.exe"[HKEY_CLASSES_ROOT\Directory\Background\shell\VSCode\command]@="\"D:\\mySoftwareAndGames\\software\\developSoftware\\visualStudioCode\\Code.exe\" \"%V\""

将代码中的地址改为自己的VSCode的地址

右键VScode--->属性可以查看VSCode地址

复制到记事本中,并将 \ 修改为 \\ 可仔细观察一下我的代码中的路径格式

第三步:

双击VScode.reg文件

打开注册表编辑器

点击是即可完成

随便右键一个文件夹检查一下是否成功

end.

如果觉得《将VSCode添加到鼠标右键菜单》对你有帮助,请点赞、收藏,并留下你的观点哦!

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。