others-How to solve 'cannot connect to Extensions Marketplace ' issue when trying to install extension in visual studio code ?

1. Purpose

In this post, I would demo how to solve the ` cannot connect to Extensions Marketplace` problem when trying to install extension in vscode, just as the below picture shows:

image-20210715103532088

2. Environment

  • Visual Studio Code

3. The solution and reason

First, Check if you can access the url:https://marketplace.visualstudio.com/

Second, restart the visual studio code.

At last, we can test :

image-20210715174212916

4. Summary

In this post, I demonstrated how to solve cannot connect to Extensions Marketplace problem when trying to install extension in visual studio code.