当前位置:网站首页>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,进行扩展包安装,安装的位置就是我们自定义设置的位置了
边栏推荐
- 字节跳动 Kitex 在森马电商场景的落地实践
- Scratch crawler mysql, Django, etc
- Garbage disposal method based on the separation of smart city and storage and living digital home mode
- 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)
- 20排位赛3
- 2020ccpc Weihai J - Steins; Game (SG function, linear basis)
- Enterprise practice | construction of banking operation and maintenance index system under complex business relations
- 官媒关注!国内数字藏品平台百强榜发布,行业加速合规健康发展
- Pytest learning - dayone
- Huffman encoded compressed file
猜你喜欢

Qualifying 3

arcgis操作:dwg数据转为shp数据

基础篇:带你从头到尾玩转注解

First issue of JS reverse tutorial

Garbage disposal method based on the separation of smart city and storage and living digital home mode

【学习笔记-李宏毅】GAN(生成对抗网络)全系列(一)

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

Basic use of JMeter to proficiency (I) creation and testing of the first task thread from installation

字节跳动 Kitex 在森马电商场景的落地实践

Pit encountered by vs2015 under win7 (successful)
随机推荐
Bit operation ==c language 2
The applet realizes multi-level page switching back and forth, and supports sliding and clicking operations
20排位赛3
[4g/5g/6g topic foundation -147]: Interpretation of the white paper on 6G's overall vision and potential key technologies -2-6g's macro driving force for development
thinkphp3.2信息泄露
CDZSC_ 2022 winter vacation personal training match level 21 (1)
The new activity of "the arrival of twelve constellations and goddesses" was launched
虚数j的物理意义
Hcip first day notes sorting
内存==c语言1
C# XML的应用
MySQL can connect locally through localhost or 127, but cannot connect through intranet IP (for example, Navicat connection reports an error of 1045 access denied for use...)
Selenium+bs4 parsing +mysql capturing BiliBili Tarot data
Applet sliding, clicking and switching simple UI
ES类和对象、原型
How to become a senior digital IC Design Engineer (1-6) Verilog coding Grammar: Classic Digital IC Design
JS reverse tutorial second issue - Ape anthropology first question
Addition, deletion, modification and query of ThinkPHP database
EXT2 file system
web3.0系列之分布式存储IPFS