Why is there no intellisense in a CLR/CLI project

元气小坏坏 提交于 2019-12-11 03:27:56

问题


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.



来源:https://stackoverflow.com/questions/2946778/why-is-there-no-intellisense-in-a-clr-cli-project

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