vscode 右键文件或者文件夹显示菜单
2024-08-22 21:44:57
1.这个是可以在安装时直接选择显示的,如果跟我一样没有选也不愿意重新安装的,可以复制下面代码保存为vsCodeOpenFolder.reg,红色部分是vscode安装路径,换成自己本地路径即可。
双击运行就可以完成。
Windows Registry Editor Version 5.00 ; Open files
[HKEY_CLASSES_ROOT\*\shell\Open with VS Code]
@="Edit with VS Code"
"Icon"="D:\\Program Files (x86)\\Microsoft VS Code\\Code.exe,0" [HKEY_CLASSES_ROOT\*\shell\Open with VS Code\command]
@="\"D:\\Program Files (x86)\\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 Folder as VS Code Project"
"Icon"="\"D:\\Program Files (x86)\\Microsoft VS Code\\Code.exe\",0" [HKEY_CLASSES_ROOT\Directory\shell\vscode\command]
@="\"D:\\Program Files (x86)\\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 Folder as VS Code Project"
"Icon"="\"D:\\Program Files (x86)\\Microsoft VS Code\\Code.exe\",0" [HKEY_CLASSES_ROOT\Directory\Background\shell\vscode\command]
@="\"D:\\Program Files (x86)\\Microsoft VS Code\\Code.exe\" \"%V\""
有下面提示可以忽略,直接是,继续执行即可。
最新文章
- 【手记】为windows2008建个睡眠快捷方式
- ADO.NET数据访问技术
- hg 的使用简介
- PHP 用 mb_strimwidth() 截取文章摘要
- Oracle求部门员工工资占总工资的比率
- 发送JS错误日志到服务器
- LAMP环境搭建教程
- LCD1602汉字、自定义字符取模
- CCPC网络赛,HDU_5842 Lweb and String
- c#变量在for循环内声明与外的区别
- Java开发中的23种设计模式具体解释
- Android.mk编译APK范例
- php 守护进程类
- 新概念英语(1-101)A Card From Jimmy
- Python核心编程笔记 第二章
- grep、awk、sed的巩固练习
- 7.3.5 Tomcat堆溢出分析(1)
- python之字符串及其方法---整理集
- SpringBoot 项目打包后运行报 org.apache.ibatis.binding.BindingException
- AngularJS基于MVC的复杂操作案例
热门文章
- 关于在smarty中实现省市区三级联动
- [SCOI2011][bzoj2331] 地板 [插头dp]
- 求职之路(拿到百度、美团、趋势科技、华为offer)
- c#的listview控件添加表头
- 【01】react 之 hello world
- .Net Framework 4.0: Using System.Lazy<;T>;
- Maven 集成Tomcat7插件自动部署
- Codeforces 918D MADMAX 图上dp 组合游戏
- DNS解析过程详解【转】
- 对/proc和/sys的一些理解