I don't know if I have done anything wrong, but when I try to write code there are no intellisense popups indicating options or errors. I am creating a CLR/CLI type of project with Microsoft's Visual C++ 2010.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
You're not doing anything wrong, Intellisense is not supported in Managed C++ (C++/CLI).
There is a long blog post explaining the details at the Visual C++ blog.
Edit: Correcting name of the blog as per comment. :)
回答2:
See the 2nd comment, in this blog post from May 2009: http://blogs.msdn.com/b/vcblog/archive/2009/05/27/rebuilding-intellisense.aspx
excerpt:
As part of this re-architecture, we had to make the difficult decision to reduce the scope to native C++ only for Intellisense. We still index symbols coming from C++/CLI code and you can browse them with Class View etc...
The wording is a little opaque, but I think the meaning is: there is no intellisense in C++/CLI projects in VS2010.