Introduction
VSCode is a very commonly used editor software. There are many clever plug-ins in the VSCode community, but sometimes, our development environment cannot access the Internet. In order to facilitate office work, we have to install such plug-ins, which involves related The problem of offline installation of the plug-in.
Obviously, the VSCode community knows the needs of our coders for offline installation of plug-ins, and provides us with a lot of download links in the community, so we don't need to manually group download links.
Installation process
1. First log in to the VSCode plug-in market website https://marketplace.visualstudio.com/vscode , enter the name of the plug-in you want to install, for example, here I want to install the C++ extension plug-in
2. Click into the plug-in home page, click on the right side of Download Extension
the link, get downloaded offline installation package for .vsix
ending extension
3. Copy the downloaded offline installation package to the bin directory under the VSCode installation directory. For example, my VSCode is installed D:\VSCode\
, so I should copy it to D:\VSCode\bin
this directory here
4. Right-click under the bin directory in step 3 在此处打开命令窗口
, enter the command, and replace the last parameter with the name of the plug-in offline installation package you downloaded:
code --install-extension cpptools-win32.vsix
A prompt of successful installation pops up, indicating that the plug-in is installed successfully
Extension ‘cpptools-win32.vsix’ was successfully installed!
Ok, the above is the process of offline installation of the VSCode plug-in. If you like it, like and bookmark it, thank you~