Home > OS >  Visual Studio Code C Extension slow in displaying errors
Visual Studio Code C Extension slow in displaying errors

Time:10-09

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 were no solutions. I have the following extensions installed:-

extensions

Please Help.

CodePudding user response:

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.

CodePudding user response:

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.

  • Related