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\""

有下面提示可以忽略,直接是,继续执行即可。

最新文章

  1. 【手记】为windows2008建个睡眠快捷方式
  2. ADO.NET数据访问技术
  3. hg 的使用简介
  4. PHP 用 mb_strimwidth() 截取文章摘要
  5. Oracle求部门员工工资占总工资的比率
  6. 发送JS错误日志到服务器
  7. LAMP环境搭建教程
  8. LCD1602汉字、自定义字符取模
  9. CCPC网络赛,HDU_5842 Lweb and String
  10. c#变量在for循环内声明与外的区别
  11. Java开发中的23种设计模式具体解释
  12. Android.mk编译APK范例
  13. php 守护进程类
  14. 新概念英语(1-101)A Card From Jimmy
  15. Python核心编程笔记 第二章
  16. grep、awk、sed的巩固练习
  17. 7.3.5 Tomcat堆溢出分析(1)
  18. python之字符串及其方法---整理集
  19. SpringBoot 项目打包后运行报 org.apache.ibatis.binding.BindingException
  20. AngularJS基于MVC的复杂操作案例

热门文章

  1. 关于在smarty中实现省市区三级联动
  2. [SCOI2011][bzoj2331] 地板 [插头dp]
  3. 求职之路(拿到百度、美团、趋势科技、华为offer)
  4. c#的listview控件添加表头
  5. 【01】react 之 hello world
  6. .Net Framework 4.0: Using System.Lazy<T>
  7. Maven 集成Tomcat7插件自动部署
  8. Codeforces 918D MADMAX 图上dp 组合游戏
  9. DNS解析过程详解【转】
  10. 对/proc和/sys的一些理解