当前位置:网站首页>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,进行扩展包安装,安装的位置就是我们自定义设置的位置了
边栏推荐
- EXT2 file system
- Codeforces - 1324d pair of topics
- Can't connect to MySQL server on '(10060) solution summary
- CSDN salary increase technology - learn about the use of several common logic controllers of JMeter
- How to become a senior digital IC Design Engineer (5-2) theory: ULP low power design technology (Part 1)
- ORM--数据库增删改查操作逻辑
- 反卷积通俗详细解析与nn.ConvTranspose2d重要参数解释
- The combination of over clause and aggregate function in SQL Server
- The industrial chain of consumer Internet is actually very short. It only undertakes the role of docking and matchmaking between upstream and downstream platforms
- Pytest learning - dayone
猜你喜欢

CSDN salary increase technology - learn about the use of several common logic controllers of JMeter

arcgis操作:dwg数据转为shp数据
![[Frida practice]](/img/20/fc68bcf2f55b140d6754af6364896b.png)
[Frida practice] "one line" code teaches you to obtain all Lua scripts in wegame platform

能源路由器入门必读:面向能源互联网的架构和功能

Software modeling and analysis

The landing practice of ByteDance kitex in SEMA e-commerce scene

【无标题】

企业实战|复杂业务关系下的银行业运维指标体系建设

Pit using BigDecimal

Memory ==c language 1
随机推荐
用flinksql的方式 写进 sr的表,发现需要删除的数据没有删除,参照文档https://do
Official media attention! The list of top 100 domestic digital collection platforms was released, and the industry accelerated the healthy development of compliance
ES6中的函数进阶学习
Check the example of where the initialization is when C initializes the program
Enterprise practice | construction of banking operation and maintenance index system under complex business relations
C# Socke 服务器,客户端,UDP
C# 初始化程序时查看初始化到哪里了示例
小程序弹出半角遮罩层
【原创】程序员团队管理的核心是什么?
flink. CDC sqlserver. 可以再次写入sqlserver中么 有连接器的 dem
csdn涨薪技术-浅学Jmeter的几个常用的逻辑控制器使用
Before joining the chain home, I made a competitive product analysis for myself
网上可以开炒股账户吗安全吗
C# XML的应用
thinkphp3.2信息泄露
2016 CCPC Hangzhou Onsite
“十二星座女神降临”全新活动推出
Delete a record in the table in pl/sql by mistake, and the recovery method
Basic use of JMeter to proficiency (I) creation and testing of the first task thread from installation
Writing file types generated by C language