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:
I tried searching the problem on the web, but there weren’t any solutions. I have the following extensions installed:
How can I fix this problem?
2
Answers
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.
In the Visual Studio Code settings you can configure the delay after which code analysis starts.
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.