Home > Development Tools > VSCode > body text

How to customize the path of vscode extension plug-in (under windows)

青灯夜游
Release: 2020-10-23 17:29:14
forward
4343 people have browsed it

The vscode extension plug-in is stored in the C drive by default. When the plug-in is downloaded a lot, it will occupy the C drive space. The following article will introduce to you how to customize the path of the vscode extension plug-in. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to everyone.

How to customize the path of vscode extension plug-in (under windows)

Related recommendations: "vscode Basic Usage Tutorial"

By default, the vscode extension plug-in stores C :\Users\username\.vscode, it will occupy C drive space when there are many plug-in downloads. Modify the path of the vscode extension plug-in as follows:

1. Right-click the shortcut -> Select "Properties" and enter after the target location:

--extensions-dir "D:\mySoft\vscode-extensions\extensions"
Copy after login

where "D:\mySoft\vscode -extensions\extensions" is my own customized path

as shown in the picture:

How to customize the path of vscode extension plug-in (under windows)

2. Then change C:\Users\username\.vscode Just cut the extension plug-in under to the custom path (D:\mySoft\vscode-extensions\extensions).

3. Verify whether the modification is successful, open vscode, and try to install an extension plug-in Beautify, as shown in the figure:

How to customize the path of vscode extension plug-in (under windows)

View C:\Users\user name \.vscode is empty, and D:\mySoft\vscode-extensions\extensions already has the xxx.beautify-xxx plug-in, indicating that the vscode extension plug-in path has been modified successfully.

For more programming-related knowledge, please visit: Introduction to Programming! !

The above is the detailed content of How to customize the path of vscode extension plug-in (under windows). For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:segmentfault.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!