为什么Intellisense“对于C ++ / CLI不可用”? [英] Why is Intellisense "Unavailable for C++/CLI"?

查看:1318
本文介绍了为什么Intellisense“对于C ++ / CLI不可用”?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


可能重复:

在visual studio 2010中没有针对c ++ / cli的IntelliSense?

由于标题已经声明,没有弹出或语法检查。在状态栏中,显示以下消息。

As the title already states, nothing gets popped up or syntax checked. In the status bar, the following message is displayed.


Intellisense不能用于C ++ / CLI

Intellisense 'Unavailable for C++/CLI'

通常在Visual C ++ 2010 Express中使用原生C ++。

Usually I am using native C++ in Visual C++ 2010 Express.

在Visual C ++ 2008中,Intellisense工作正常

In Visual C++ 2008, Intellisense was working correctly for C++/CLI, so I guess it should be working in this version too.

推荐答案

C ++ IDE中的IntelliSense解析器是由于大修,它有慢性问题,没有得到更好的每个版本。随机损坏的.ncb文件,IS数据库猖獗。对于VS2010,它是完全重写,一个新的解析器和一种新的方式来存储结果。现在一个.sdf文件,一个SQL Compact数据库。解析器是由爱迪生设计集团(Edison Design Group)编写的,它们是唯一一个曾经写过一个完全实现标准的C ++解析器的解析器。

The IntelliSense parser in the C++ IDE was due for an overhaul, it had chronic problems that didn't get better with each release. Random corruption of the .ncb file, the IS database was rampant. For VS2010, it was completely rewritten, a new parser and a new way to store the results. Now an .sdf file, a SQL Compact database. The parser was written by the Edison Design Group, they are famous for being the only ones that ever wrote a C++ parser that completely implements the standard.

可悲的是, t有资源给C ++ / CLI相同的处理。工作被延迟,它肯定不会使它的SP1。连接反馈报告是这里,只有24票。投票你的投票。

Sadly, they didn't have the resources to give C++/CLI the same treatment. The work is deferred, it definitely won't make it for SP1. The connect feedback report is here, only 24 votes. Cast your vote.

编辑:这是在VS2012照顾,它再次支持IntelliSense的C ++ / CLI。和C ++ / CX,一个支持WinRT的语言扩展,其语法非常类似于C ++ / CLI,可能是完成这项工作的灵感。

this was taken care of in VS2012, it again supports IntelliSense for C++/CLI. And C++/CX, a language extension to support WinRT that has a syntax that is very similar to C++/CLI, the likely inspiration to get this work done.

这篇关于为什么Intellisense“对于C ++ / CLI不可用”?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆