C++ VS Express 2010 Intellisense

人盡茶涼 提交于 2019-12-13 01:54:23

问题


I'm trying to use Visual Studio Express 2010 to write an openGL program, so It's a win32 console application. And I can't get Intellisense to show up for anything, openGL or otherwise.

What am I doing wrong, and how can I force Intellisense to show? (Like you can force the Xcode equivalent with Esc)


回答1:


From MSDN: IntelliSense can stop working under certain conditions. Use the following steps to help determine why IntelliSense does not work for C++ projects.

To investigate IntelliSense failure in C++ projects Make sure that the Visual C++ project contains no compilation errors.

1) If the project is a Makefile project, see How to: Enable IntelliSense for Makefile Projects.

2) Make sure that stdafx.h is on the include path. For more information about include paths in Visual C++ projects, see #include Directive (C/C++) and /I (Additional Include Directories).

Also :*General, All Languages, Text Editor, Options Dialog Box

Provides information about how to turn off IntelliSense.

NB. IntelliSense LimitationsIntelliSense does not work in C++ projects under the following circumstances: ( there more then this one below )

IntelliSense is not fully supported when you reference a header file multiple times by using the #include directive, and the meaning of that header file changes because of various macro states that are defined through the #define directive. In other words, when you include a header file several times and the header usage changes under different macro states, IntelliSense does not always work.




回答2:


Please find *.sdf file in project directory and delete it relaunch the solution file. It will show your intellisense



来源:https://stackoverflow.com/questions/4571607/c-vs-express-2010-intellisense

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!