Visual Studio (2019, 2022): Parsing entire engine source..... 10+ minutes.... how to skip?

Is there a way to stop VS from parsing the entire engine on a UE project?

afbeelding

None of my code is colored until it finishes, which takes 10+ minutes. I tried Rider too, but I don’t want to pay for Rider, because VS should simply be working. Any way to cache the parsed data on the UE engine level? Or skip it?

You can see this when you recreate the VS project files and open VS. bottom left “Background Tasks” icon.

Tested if VS 2019 is any better, it’s not, exactly the same problem.
Dumping some links here to the 2019 download which Microsoft makes annoyingly difficult to get for myself and anyone who might end up here.
Microsoft hides older versions behind a microsoft login, subscription yadayada, dev program and a bunch of crap they think we want to spend time on. We don’t, so here is the bloody link to the exe file:

rel=15 or 16 or 17 for the VS community installer you need.

Thank You for Downloading Visual Studio Community Edition

Alternatively, this is the 2019 community download:

https://visualstudio.microsoft.com/c6aacb2c-0149-4c19-ac82-c8f8bd0f8f3c

Alternatively, this is a specific version

Visual Studio 2019 build numbers and release dates | Microsoft Learn

If it’s not the VS version, then I don’t know. I haven’t always had this problem. Pretty much the only thing that was updated is unreal engine from 4.27.2 to 5.1 to 5.2 and it sure did go downhill.

Tested cache deletion (Roslyn), no difference.

I don’t think you can stop that if you are using c++.
It has to rebuild everything
make sure your are connected to the internet when building
there are often a couple files it will pull from urls, and it will stall if you don’t have a connection

1 Like

The parsing process starts when just opening the project, even if I don’t hit build. Is that something that I can cache for the engine source somehow? It’s rather annoying with 50.000 engine source files in a project with very little c++. Most importantly I want to use intellisense (code coloring, navigate to declarations) within seconds of opening a project. Otherwise every time I have to inspect some code I could just as well open notepad++

Lots of options for disabling Intellisense builds.