vscode did not find any definition definition

I have tried many pits on the Internet, but the
first pit: insert image description here
the second pit:

insert image description here
The third pit:
insert image description here
… … … … …

Solution:

Later, I saw that my C++ plug-in has been updating accessories, but it can't be completed, and then I directly searched for an article
insert image description here
based on this problem. The main problem is the C++ plug-in configuration problem:
insert image description here

It may be the C/C++ that you have transferred by yourself, but you can't download the accessories all the time, although the C/C++ plug-in has been installed, the
error is as follows

vscode Downloading package ‘C/C++ language components (Windows)‘ Failed.问题解决

First download the offline installation package on the official website: https://github.com/Microsoft/vscode-cpptools/releases
windows64-bit system, the download content is cpptools-win32.vsix
insert image description here
Then open vscode, open the extension, click the three dots in the upper right corner, select Install form VSIX. Then select the downloaded file. After the installation is complete, restart it.
insert image description here
Reboot and you're done!

Guess you like

Origin blog.csdn.net/weixin_44023934/article/details/118679242