How to get IntelliSense to reliably work in Visual Studio 2008

后端 未结 12 1561
暗喜
暗喜 2020-12-08 04:13

Does anyone know how to get IntelliSense to work reliably when working in C/C++ projects? It seems to work for about 1 in 10 files. Visual Studio 2005 seems to be a lot bett

12条回答
  •  一生所求
    2020-12-08 04:43

    I don't use VS2008 for C++, only VB & C#, but I find that when intellisense stops working (true for VS2003/2005/2008) it's because something in the project/file is broken - usually a bad reference or code.

    VB and C# have much better intellisense support due to the ability to reflect on the referenced assemblies to build the intellisense tree.

    C++ has to walk the include files for function prototypes, and if the paths are not correct it will not find all the prototype headers.

提交回复
热议问题