Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Where is the vscode plug-in installed?

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

Xiaobian to share with you where vscode plug-in installation, I believe most people do not know how, so share this article for everyone's reference, I hope you have a lot of harvest after reading this article, let's go to understand it together!

Where is the vscode plugin installed?

vscode plug-in If installed to C disk by default, extensions file will be large, occupying C disk space

Custom vscode plug-in installation location

Premise: VSCode has been installed and added to the environment variable path.

2. Open cmd, enter code --help, and the display is as follows:

Methods:

1,(recommended, do not restart the computer every time) enter the command: code --extensions-dir your target folder, enter to start vscode, at this time the installed plug-in will be placed in the specified directory.

code --extensions-dir D:\software\vscode\extensions

2, or write a bat file, each time you call this command to start vscode (a bit troublesome, because if you do not call this bat, every time you start the computer will not find the plug-in installation location):

@echo off if "%1" == "h" goto begin mshta _vbscript:createobject("wscript.shell").run("%~nx0 h",0)(window.close)&&exit :begin code --extensions-dir F:\ProgramFiles\VSCode\extensions

Either way, the newly set address must have these plug-ins or reinstall, then open vscode will prompt reload, but reload is useless

Reason: Because there is no plug-in at the location of your new plug-in, copy the past, so that the plug-in is still in the system after reloading

After copying the past, everything was ok. There was an extra 900 MB of space on disk C.

The above is "vscode plug-in installation where" all the content of this article, thank you for reading! I believe that everyone has a certain understanding, hope to share the content to help everyone, if you still want to learn more knowledge, welcome to pay attention to the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report