skip to Main Content

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?

2

Answers


  1. 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.

    Login or Signup to reply.
  2. 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.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search