|
feline
Moderator
    
United Kingdom
12804 Posts |
Posted - Oct 30 2006 : 1:58:07 PM
|
For large C++ solutions in Visual Studio 2005 the IDE's Intellisense parser can be very slow, and can have a serious impact on your systems speed.
If you have the Visual Assist X option "Get content from default Intellisense" turned off then you can safely disable the IDE's Intellisense scanner.
However, please be aware that disabling the IDE's Intellisense can stop the IDE's "Class View" and will cause problems for the "Add Class Wizard", along with any other IDE features that rely on its Intellisense scanner. The zero length NCB file method is most likely to cause these side effects.

To do this exit the IDE. Now create two zero length, read only NCB files, one in the solution base directory and one in the %TEMP% directory. There will already be one NCB file in the solution base directory, so just delete it before making the zero length file.
Now when you load the solution in Visual Studio 2005 the IDE will ask you if you want to delete this file. Just say No.

To re-enable default Intellisense you can simply delete the NCB file in the solution base directory.
Alternatively, if you simply want to disable the IDE's intellisense for all projects then simply close the IDE and rename the dll:
C:\Program Files\Microsoft Visual Studio 8\VC\vcpackages\feacp.dll
to some other name, "feacp_ignore.dll" perhaps. Return it to its original name to re-enable intellisense. This approach has the advantage of no error messages when you load your solutions, but it also more wide ranging.
An alternative solution is to tell Visual Assist X to make sure that its own parser does not run at the same time as the IDE parser, to try and reduce CPU load. This is explained here:
http://www.wholetomato.com/forum/topic.asp?TOPIC_ID=8464
If you are using Visual Studio 2010 or Visual Studio 2012 then you can simply use the IDE setting:
IDE Tools menu -> Options -> Text Editor -> C/C++ -> Advanced -> Disable Database = True |
Edited by - feline on Feb 25 2013 4:23:28 PM |
|