Home > Development Tools > VSCode > A brief discussion on how to customize the vscode extension plug-in path (windows environment)

A brief discussion on how to customize the vscode extension plug-in path (windows environment)

青灯夜游
Release: 2020-12-02 17:50:42
forward
4236 people have browsed it

How to customize the path of vscode extension plug-in under windows? The following vscode column will introduce to you how to customize the vscode extension plug-in path. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to everyone.

A brief discussion on how to customize the vscode extension plug-in path (windows environment)

Related recommendations: "vscode Basic Tutorial"

By default, the vscode extension plug-in is stored in C:\Users\username\ .vscode 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 figure:
A brief discussion on how to customize the vscode extension plug-in path (windows environment)

2. Then add the extension under C:\Users\username\.vscode Just cut the plug-in 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:

A brief discussion on how to customize the vscode extension plug-in path (windows environment)

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: Programming Learning Course! !

The above is the detailed content of A brief discussion on how to customize the vscode extension plug-in path (windows environment). 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