ChandraP

Hi

I am really frustrated with the performance of VS .Net 2005. This is because I always see at the bottom "updating intellisense..." and it uses 60% to 70% of CPU.

How to disable this updating of intellisense... Please this is making Visual studio unusable.

Thanks
Chandra



Re: Visual C++ General VS .Net 2005, how to disable intellisense... Where is MS on this?

Saurabh Nandu

Try going to Tools menu -> Options ->Text Editor -> C# -> Intellisense and uncheck the option "Intellisense pre-selects most recently used members". Then click OK.

Does this help It does not disable Intellisense, but it should turn off background upates to the recent list.

If you are fcing more problems please mention what's your machine configuration, and how large a project size you are working upon.

Regards,
Saurabh Nandu
www.MasterCSharp.com




Re: Visual C++ General VS .Net 2005, how to disable intellisense... Where is MS on this?

Karen Liu MSFT

Chandra -
Does your solution contain C++ projects   That message on the bottom "updating intellisense" is not one that we commonly display for C# IntelliSense updating.

Thanks,
Karen




Re: Visual C++ General VS .Net 2005, how to disable intellisense... Where is MS on this?

ChandraP

Hi

We do not have C# projects. We have only C++ projects. We have around 200 to 250 projects in a solution... So how to disable intellisence in C++ projects.

Thanks
Chandra




Re: Visual C++ General VS .Net 2005, how to disable intellisense... Where is MS on this?

Cyrus Najmabadi

Chandra, i've moved this into the "Visual C++ General" forum from the "Visual C# IDE" forum as you appear to only be using C++ and not C#.



Re: Visual C++ General VS .Net 2005, how to disable intellisense... Where is MS on this?

Martin Richter

There is a undocumented way to disable C++ Intellisense:
Rename or delete the following file:
<VS root path>\VC\vcpackages\feacp.dll






Re: Visual C++ General VS .Net 2005, how to disable intellisense... Where is MS on this?

Boris Jabes

Hi Chandra,

Could you describe the size of your solution Do you have many projects Do you find yourself changing the headers often Do you change configurations often (e.g. from debug to release and back) Does your code make heavy use of preprocessor macros

Thanks,






Re: Visual C++ General VS .Net 2005, how to disable intellisense... Where is MS on this?

Phil Borg

I have the same problem (and may be working for the same company) 

My solution has more then 30 projects consisting of a total of >2500 cpp files.  Each project runs a makefile in the pre-build event that automaticly builds header files from cpp files based on information in macros imbeded in the cpp code.

Each cpp file contributes to up to 4 header files so if the solution were searched the same definitions will occur multiple times.

Phil Borghesani
 




Re: Visual C++ General VS .Net 2005, how to disable intellisense... Where is MS on this?

AxelM

Hi,

The same problem, but with one advantage, I can share the code. It is actually the open-source library ITK (www.itk.org).
The funny thing, I used it until today with no problem. It started happening now, and no way to stop it. I will try the radical way of deleting the dll. Hope it helps. And hope you fix the bug.





Re: Visual C++ General VS .Net 2005, how to disable intellisense... Where is MS on this?

AxelM

Some more info on the problem: I observed that the file .ncb is being sloooooooowly generated while this message "Updating intellisense" is on, until it reaches 11Mb in my case.
After waiting patiently (about 20min), I close VS2005 and then it hangs again...

I have read something about a new release which should be more stable... I am using version 8.0.50727.42 (RTM.050727-4200). Is there something I should update Where to find the right update I just got lost in all this Microsoft download pages, the only things I found was a pre-beta release of WinFX runtime components from November, but I did not trust it enough to install it........

Help would be welcome!






Re: Visual C++ General VS .Net 2005, how to disable intellisense... Where is MS on this?

Traian

Same here. A C++ solution with 21 projects spends minutes "Updating IntelliSense..." with the CPU pegged. I think this problem is common to all VC8 solutions containing more than a few files and projects. And the funny thing is that the intellisense in VC8 does not pick up changes to header files as well as VC 7.1 used to -- and VC 7.1 did not peg the CPU every time I saved a file.



Re: Visual C++ General VS .Net 2005, how to disable intellisense... Where is MS on this?

Brian Corcoran

I just want to join the chorus. The intellisense update is making my C++ project (hundreds of files, many hundreds of classes) unusable. Please restore the VS 2003 performance.






Re: Visual C++ General VS .Net 2005, how to disable intellisense... Where is MS on this?

Ted.

My guess is that Intellisense performance is killed by some of the following: excessive use of templates in code, #import for large native COM classes (biggie IMO), errors in parsing which cause loops (i.e. it never completes), corruptions in NCB files (deleting usually makes things better for a while),  preprocessor code greying, very large precompiled headers, slow update of class view pane.    

I have found a big improvement if I let it completely generate then back up my NCB file for safe keeping, and if it does start going bonkers again, restore the NCB from back up.

 





Re: Visual C++ General VS .Net 2005, how to disable intellisense... Where is MS on this?

Boris Jabes

Hi all,

I'm sorry I dropped off this thread. We have already started making some fixes in C++ Intellisense after we released VS 2005 but I'd like to make sure we are hitting all the issues you are facing. The ideal is to do the following: log a bug in msdn's product feedback (http://lab.msdn.microsoft.com/productfeedback/) and send me an email at borisj@microsoft.com with a link to it so I can make sure we follow up. Obviously, it's a little difficult for us to solve issues where the only information we have is "Intellisense is using too much CPU" so if you can get us something that reproduces the problem we would appreciate it.

Thanks.






Re: Visual C++ General VS .Net 2005, how to disable intellisense... Where is MS on this?

Boris Jabes

Traian,

We did a lot of work to increase Intellisense precision in VC8 so what you mention seems a little suprising. Could you post a sample of a change that VC8 does *not* pick up, which VC7.1 did