Visual Studio C/CLI 2010 的 Intellisense 不起作用;还有其他选择吗?
我今天下载并安装了 Visual C++ 2010 Express。令我震惊和恐惧的是,变量的点后面没有任何内容,底部状态栏上显示错误:
“Intellisense:对于 C++/CLI 不可用”
所以......既然如此,是否有一个 Intellisense 的替代方案能找到并使用吗?其他 stackoverflow 问题解决了 Intellisense 可能存在的问题。不过,根据我读到的内容:
- 他们建议使用视觉辅助。我刚刚下载的 Visual Assist 免费试用版与 VC++ 2010 Express 不兼容。
- 他们谈论以某种方式操纵 Visual C++ 本身,通常是通过删除 .ncb 文件。你们有人知道这个文件位于哪里吗?如果是这样,这就是我所希望的答案——也许它会修复智能感知!
谢谢!当然,如有其他想法,请随时加入!
Possible Duplicate:
What are people replacing the missing C++/CLI Intellisense in VS 2010 with?
I downloaded and installed Visual C++ 2010 Express, today. To my shock and horror, a variable's dot was not followed with anything, an error at the bottom status bar reading:
"Intellisense: Unavailable for C++/CLI"
So... that being the case, is there an alternative to Intellisense that I can find and use? Other stackoverflow questions addressed the possibly broken nature of Intellisense. From what I've read, though:
- They suggest Visual Assist. Visual Assist's free trial, as I just downloaded, is not compatible with VC++ 2010 Express.
- They talk about manipulating Visual C++ itself somehow, usually through the deleting of a .ncb file. Do any of you know where this file is located? If so, that's one answer I'm hoping for -- maybe it'll fix intellisense!
Thanks! Of course, feel free to chime in with any other ideas!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
是的,VS 2010 不支持 C++/CLI Intellisense。 VS 团队承诺会进行更新,但我很确定我们不会看到它。太糟糕了,C++/CLI 对于在 C++ 和 C#/VB/任何其他 .NET 托管语言之间创建桥接类非常出色。
Visual Assist X 确实恢复了它,但由于 VS Express 版本不支持扩展,您有三个选择:
1) 不使用 Intellisense
2) 获取 VS Professional 或更高版本(如果您是学生,可以从 MSDNAA 免费获取) )
3) 降级到 Visual C++ 2008 Express
Yes, VS 2010 doesn't support C++/CLI Intellisense. The VS team promised it would come with an update, but I'm quite sure we won't see it. Too bad, C++/CLI is amazing for creating bridge classes between C++ and C#/VB/any other .NET managed laguage.
Visual Assist X indeed brings it back, but since VS Express editions don't support extensions, you have three options:
1) Live without Intellisense
2) Get VS Professional or better (if you are student, you can get it from MSDNAA for free)
3) Downgrade to Visual C++ 2008 Express
只需使用 Visual Studio 2008。
您认为哪个功能更重要只是一个简单的问题。仅选择一项:
Just use Visual Studio 2008.
It's a simple matter of which feature you find more important. Pick only one: