VSCode change plugin installation location

Reference: https://blog.csdn.net/weixin_44556968/article/details/122288817?spm=1001.2101.3001.6650.1&utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7Edefault-1-122288817- blog-124886575.pc_relevant_aa&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7Edefault-1-122288817-blog-124886575.pc_relevant_aa&utm_relevant_index=1

method one:

First, enter the cmd, enter the command: code --extensions-dir D:\VS Code\extensions

Press Enter, start VS Code, load the plugin in the specified path, and then the installed plugin will be placed in the specified directory

Method two:

On the shortcut icon of VS Code, right click -> Properties

insert image description here

In the properties of the open VS Code, as shown above, enter the text box of the modification target (T)“D:\VS Code\Code.exe” --extensions-dir “D:\VS Code\extensions”

Exit the vscode software

Double-click the shortcut of VS Code to restart vscode, load the plug-in in the specified path, and then the installed plug-in will be placed in the specified directory.

Guess you like

Origin blog.csdn.net/weixin_35773751/article/details/126056832