当前位置:网站首页>VS Code指定扩展安装位置
VS Code指定扩展安装位置
2022-07-07 07:21:00 【暄踽】
VS Code指定扩展安装位置
默认情况下,(Windows)vscode的安装路径为C:\Users\用户名\.vscode\extensions。
如果想要自定义扩展的安装路径,无法直接在vscode中修改。但是,在启动vscode的时候,可以指定扩展路径。
D:\Software\Microsoft VS Code\bin>code --help
Visual Studio Code 1.68.1
Usage: code.exe [options][paths...]
To read output from another program, append '-' (e.g. 'echo Hello World | code.exe -')
...
Extensions Management
--extensions-dir <dir> Set the root path for extensions.
--list-extensions List the installed extensions.
可以看到,code有个选项--extensions-dir,它用来指定扩展安装位置。
更改步骤:
- 新建安装扩展包的文件夹,比如
D:\Software\Microsoft VS Code\extensions
- 右击打开桌面的VS Code快捷图标,点击属性

- 在
目标位置加入扩展包安装路径
"D:\Software\Microsoft VS Code\Code.exe" --extensions-dir "D:\Software\Microsoft VS Code\extensions"
- 点击
确定按钮,之后,再次双击桌面的快捷图标打开VS Code,进行扩展包安装,安装的位置就是我们自定义设置的位置了
边栏推荐
- 小程序滑动、点击切换简洁UI
- Using keras in tensorflow to build convolutional neural network
- [Frida practice] "one line" code teaches you to obtain all Lua scripts in wegame platform
- China's first electronic audio category "Yamano electronic audio" digital collection is on sale!
- Introduction to automated testing framework
- Phpcms realizes PC website access to wechat native payment
- 终于可以一行代码也不用改了!ShardingSphere 原生驱动问世
- JS reverse tutorial second issue - Ape anthropology first question
- ORM--数据库增删改查操作逻辑
- The combination of over clause and aggregate function in SQL Server
猜你喜欢

ORM--分组查询,聚合查询,查询集QuerySet对象特性

小程序实现页面多级来回切换支持滑动和点击操作

request对象对请求体,请求头参数的解析

小程序滑动、点击切换简洁UI

Sqlplus garbled code problem, find the solution

Switching value signal anti shake FB of PLC signal processing series

视频化全链路智能上云?一文详解什么是阿里云视频云「智能媒体生产」

csdn涨薪技术-浅学Jmeter的几个常用的逻辑控制器使用

基于智慧城市与储住分离数字家居模式垃圾处理方法

Software modeling and analysis
随机推荐
位操作==c语言2
C# XML的应用
Write VBA in Excel, connect to Oracle and query the contents in the database
使用BigDecimal的坑
Analyze Android event distribution mechanism according to popular interview questions (I)
第十四次试验
thinkphp数据库的增删改查
ES类和对象、原型
HCIP 第一天 笔记整理
CDZSC_ 2022 winter vacation personal training match level 21 (2)
Become a "founder" and make reading a habit
高斯消元
CentOS installs JDK1.8 and mysql5 and 8 (the same command 58 in the second installation mode is common, opening access rights and changing passwords)
arcgis操作:dwg数据转为shp数据
基础篇:带你从头到尾玩转注解
JS reverse tutorial second issue - Ape anthropology first question
内存==c语言1
网上可以开炒股账户吗安全吗
Web3.0 series distributed storage IPFs
Main (argc, *argv[]) details