Why is there no intellisense in a CLR/CLI project

2019-07-24 11:03发布

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.

2条回答
该账号已被封号
2楼-- · 2019-07-24 11:39

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. :)

查看更多
男人必须洒脱
3楼-- · 2019-07-24 12:01

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.

查看更多
登录 后发表回答