Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio Code C++ Extension slow in displaying errors

I am new to C++ programming and when I started to code in Visual Studio Code, the error displaying of the extension is very slow and I get the following output:

Error image

I tried searching the problem on the web, but there weren't any solutions. I have the following extensions installed:

Extensions

How can I fix this problem?

like image 956
Archit Dandavate Avatar asked May 20 '26 14:05

Archit Dandavate


2 Answers

In the Visual Studio Code settings you can configure the delay after which code analysis starts.

Screenshot of intelli sense update delay setting

There is a delay because typically while writing such processing would be wasted effort and performance.

If you deem the delay too long, you can reduce it to your preferences.

like image 190
Kissaki Avatar answered May 23 '26 03:05

Kissaki


This is working normally. Code highlighting and squiggles always take some time to load. They can take as little as ~0.5 seconds and as long as 5 seconds in a large project. Intellisense specifically waits for you to stop typing for a little while (about half a second maybe?) to even begin parsing the input and looking for errors.

like image 23
EatingTechnobladesRemainsAt3am Avatar answered May 23 '26 04:05

EatingTechnobladesRemainsAt3am



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!