Hello! I’ve been using VS for a few years now and have never encountered this bug. When I try to do anything it takes a very long time (for example: making a string, the word “string “will not be blue until I hit start). Actually starting the program can take up to 10 minutes on a pretty simple WinForms project. Errors will also not show up until I press start.

PS: I don’t think this is a performance issue. I have a pretty fast computer that should be able to run VS like normal

Are you running Nvidia NSight? I’d check for that or similar Nvidia modules. Some of the machine learning geared modules will destroy Visual Studio’s performance in the manner you describe

I think you’re right actually! I do have it installed. Ill remove it and tell you how it goes 🙂

Sorry to give you 3 notifications but i uninstalled NSight and VS is back to normal! Thank you so much!

No all i have is CUDA installed
Edit: ill double check though

Your definition of a “fast computer” may not be the same definition as ours. Try upgrading CPU and RAM. As far as syntax highlighting being slow, it depends on your project size, how much is allocated in RAM, and CPU. The CPU will always be the bottleneck when it comes to lexical analysis, parsing, and code generation, the first two steps being required for syntax highlighting and all three required for complete code compilation.

It would be great if you shared your specs. You should also be able to use hardware acceleration for VS rendering, especially the text editor, instead of relying on software rendering, which utilizes the CPU. Try switching between the two to see if there are any overall improvements.

I have a i7-10750H with a RTX 2070 and 16GB DDR4. I have a 1TB SSD
Is your hard drive getting full? How much RAM do you have? VS likes to have lots of memory and if it has to swap to disk and your disk is full it’s going to thrash like crazy.

Alternatively, what kinds of add-ons and extensions do you have installed? Try disabling them all and see if that helps, then re-enable each one in turn.
My hard drive has abt 150gb left and i have 16GB DDR4. I dont think I have any addons installed

I’ve noticed more than usual sluggishness lately on my end too. I wonder if it’s related to one of the recent updates or just coincidental.

I had similar issues with VS. Try resetting settings with /ResetSettings (devenv.exe)

source