views:

704

answers:

4

I have a fairly large C++ solution in Visual Studio 2008 SP1. When I RIGHT CLICK, I see the updating intellisense in the status bar and the whole studio freezes for several minutes.

Right click worked fine in 2005.

Any workarounds?

A: 

Do you have any 3rd party VS plug-ins installed? They could be buggy and affect how VS behaves.

Igor Brejc
+2  A: 

Intellisense is known to keel over on large C++ projects. The only reliable solution I have found (despite their attempts to hotfix) is to disable Intellisense by removing/renaming Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcpackages\feacp.dll.

Luckily, an add-on like Visual Assist is quite the superior replacement to Intellisense, I find.

Not Sure
+1  A: 

Updating intellisense on larger projects just kills productivity - Visual Assist is a much better replacement. I think though that intellisense is also linked to the way VS parses the code for the designer, so a more temporary solution to test with is to replace your .ncb file with a folder called [solution].ncb

I highly recommend Visual Assist though

Fry
A: 

Delete you ncb files, and let them regenerate. This how we usually workaround intellisense when it is behaving badly. It akes a bit to regenerate but it is worth it.

Alex
this works frequently. I heartily recommend trying this first
nbourbaki