Home  >  Article  >  Development Tools  >  How to set the plug-in installation location in vscode

How to set the plug-in installation location in vscode

王林
王林Original
2020-03-13 17:05:187552browse

How to set the plug-in installation location in vscode

Open cmd, enter the command: code --extensions-dir your target folder, press Enter to start vscode, and the installed plug-in will be placed in the specified directory.

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

(Recommended learning video: java learning video)

Or write a bat file and call this command every time to start vscode (a bit troublesome, because if you don’t call If you use this bat, you will not be able to find the installation location of the plug-in every time you start the computer):

@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

Related tutorial recommendations: vscode tutorial

The above is the detailed content of How to set the plug-in installation location in vscode. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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