Why is C # IntelliSense delayed compared to VB.NET?

In VB.NET projects, errors are highlighted immediately after the cursor leaves the line. In C #, I have to wait a few seconds for IntelliSense to highlight it. In addition, the C # version does not display all the project errors in the "error list" unless you start building it. Actually, it seems that everything works differently. Can this behavior be customized?

I am using both Visual Studio 2008 and Visual Studio 2010.

+3
source share
2 answers

This is because VB.NET performs a full background compilation whenever the IDE is idle, so it always has the latest information. C # does not do this and instead has a separate process that creates IntelliSense information.

You cannot configure it without a lot of work or buying any third-party tool. This is one of the differences between languages, the VB.NET team concentrates on certain aspects and the C # team on others.

Although I think some of the add-ons you can buy (maybe ReSharper and others) advertise IntelliSense better if you really want to.

+4
source

Visual Basic Visual Studio , # .

+4

Source: https://habr.com/ru/post/1748725/


All Articles