In Windows system, the plug-in directory of VSCode Editor is on drive C by default, and the extended directory will be very large. We can solve this problem by customizing the installation location of the VSCode plug-in:
Method 1 (recommended, you don't need to restart your computer every time):
The premise is that VSCode has been installed and added to the environment variable path. Open VSCode, then click the new terminal menu in the terminal menu bar in the opened VSCode, enter the command code-help command to view the help, and enter the code-extensions-dir "your extensions dir" command to specify the plug-in directory. As follows:
Method 2
Right-click the VSCode shortcut on the desktop, click Properties, and change the target from
Revised as:
After adding the code-extensions-dir "your extensions dir" command, the new plug-in directory will be used.