1. Open the VSCode plug-in market, the URL is https://marketplace.visualstudio.com/vscode, enter the plug-in name you want, for example, here I want What you want to install is the Markdown All in One plug-in
2. Click to enter the plug-in home page, click the Download Extension
link on the right to get the downloaded offline The installation package ends with .vsix as the extension
3. Copy the downloaded offline installation package to the bin directory under the VSCode installation directory, such as my VSCode It is installed in D:\Microsoft VS Code\, so here I should copy it to the directory D:\Microsoft VS Code\bin
4. Bin in the third step Right-click in the directory to open the command window here, enter the command, and replace the last parameter with the name of the plug-in offline installation package you downloaded:
code --install-extension yzhang.markdown-all-in-one-1.4.0.vsix
When you see the following prompt, it means the installation is successful. You can open VSCode to view it.
Extension ‘yzhang.markdown-all-in-one-1.4.0.vsix’ was successfully installed!
Recommended related articles and tutorials: vscode tutorial
The above is the detailed content of How to install plug-ins offline in vscode. For more information, please follow other related articles on the PHP Chinese website!