Around once every ~20mins or so, VS2019 will start scanning includes in the background and that will make my computer freeze for around 1 to 2 minutes where I can’t do anything. This happens even when I’m in the UE4 editor working on Blueprints or even when I’m in Blender. Usually I just quickly alt-tab to VS and click to stop the scan so my computer unfreezes. But I would like it to never do that all in the first place. Is there anything I can do this?
When Googling for this problem the common responses I get are either: disable Intellisense completely or just buy VAX instead. I don’t want to disable Intellisense completely and I can’t afford the alternatives. I want Intellisense, I just don’t it to randomly scan files in the background when I’m not using VS. Is there any setting to keep Intellisense working but stop it from randomly re-scanning in the background when not in use?
I know of no such setting.
The developers of visual studio all use SSDs, and muilti-core CPUs. The “minimum spec” to use visual studio with intellisense on a computer are to have a modern workstation computer with many cores and an SSD.
If you still have a spinny disk, there is an easy fix for this: Replace your spinny disk with a SSD.
Modern motherboards, and laptops, have M.2 connectors: https://amzn.to/3jKpKOT
Older motherboards have SATA connectors: Amazon.com
You can also write a PowerShell script or tool to kill all the indexer processes when they show up, if you really want a software “fix.”
I do have everything in SSDs, 1.5TB just in SSDs. No spinning disk on my workstation computer.
My CPU has 4 cores but it’s a 5 years old i5. Does people with better processors have Visual Studio not slow down everything when it’s searching in the background?