Visual Studio 2010 中没有用于 C++/CLI 的 IntelliSense? [英] No IntelliSense for C++/CLI in Visual Studio 2010?
问题描述
我刚从 Visual Studio 2008 转到 Visual Studio 2010(最终版)并注意到一个主要缺陷:
I just moved from Visual Studio 2008 to Visual Studio 2010 (final) and noticed one major flaw:
当我尝试在托管 C++ 的 C++ 源文件中使用 AutoComplete 时,页脚中出现一个小注释:
When I try to use AutoComplete in a C++ source file for managed C++, a small note in the footer appears:
IntelliSense for C++/CLI 不可用
呃,用于 C++/CLI 的 IntelliSense 是否已从 Visual Studio 2010 中删除?有什么办法可以恢复这个吗?它相当有用...
Uh, has IntelliSense for C++/CLI been dropped from Visual Studio 2010? Is there any way to get this back? It is rather useful...
推荐答案
你说得对.不幸的是它已被丢弃.您可以在 Microsoft 的 Connect 网站上检查这个未解决的问题.
You are correct. Unfortunately it has been dropped. You can check this opened issue on Microsoft's Connect website.
我只是为了回答而引用它们:
I'll just quote them for the sake of the answer:
不幸的是,在此版本中,由于时间限制,我们不得不削减对 C++/CLI 的智能感知支持.如果您想获得一些智能感知,例如本机类的快速信息和成员列表,您可以通过在项目属性中选择不支持/clr 来获得它.
Unfortunately in this release we had to cut the intellisense support for C++/CLI due to time constraints. If you want to get some intellisense like quick info and memberlist on the native classes you can get it by choosing no /clr support in the project properties.
关于恢复智能感知,您现在最好的机会是使用第三方工具,例如 VA Assist.我已经在 Visual Studio 2008 上试用过它,它的 IntelliSense 比默认的要好得多.
About getting back intellisense, your best chances for now are using third-party tools like VA Assist for example. I've tried it with Visual Studio 2008 and its IntelliSense is a whole lot better than the default one.
它在 Visual Studio 2012 中再次可用.
这篇关于Visual Studio 2010 中没有用于 C++/CLI 的 IntelliSense?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!