VScode cannot connect to the extension store solution

The problem I encountered in the process of using vscode is this

  1. When running the code, it shows that the type of configuration "cppdbg" is not supported and needs to be installed, and then it reminds that the network problem cannot be installed.

  1. The next day vscode reminded that there is no registered task type "cppbuild". Did you miss installing an extension that provides the corresponding task provider

After searching, I found three methods, but the first two methods did not work for me

1. Open vscode, File -> Preferences -> Settings

Fill in http://127.0.0.1:8080 in the proxy server

restart vscode

2. Also open vscode, File -> Preferences -> Settings

Delete the proxy server just filled in

restart vscode

3. Open cmd as an administrator

ipconfig/renew
ipconfig/registerdns
ipconfig/flushdns
ipconfig/release

Enter in four lines, then restart the computer

Immediately open vscode to run the program may still report an error, but you can reopen it later

After the third step, the code can run normally, but the app store still seems to be offline

Guess you like

Origin blog.csdn.net/zc2441166922/article/details/129194294