用于CLR项目的Intellisense-例如System.Windows.Forms [英] Intellisense for CLR projects - No Intellisense for e.g. System.Windows.Forms

查看:132
本文介绍了用于CLR项目的Intellisense-例如System.Windows.Forms的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在遵循一些 Visual C ++基础知识的两个教程,但是他们似乎都缺少有关如何在Visual Studio 2010中进行智能感知的信息.

I've been following two tutorials on some Visual C++ fundamentals but they all seem to lack the information on how I get the intellisense going in Visual Studio 2010.

下面的代码段是我拥有的

The following code snippet is what I have

#using<mscorlib.dll>
#using<System.Windows.Forms.dll>

using namespace System::Windows::Forms;

int main()
{
    MessageBox::Show("ohai!");

    return 0;
}

我希望能够只编写MessageBox::并按ctrl +空格,并可以很好地查看方法"和属性.但似乎我不明白.

I would like to be able to just write MessageBox:: and the press ctrl + space and get a nice view of the Methods and properties. But it seems like I don't get that.

建议?我想念一些东西吗?

Suggestions? Did I miss to include something?

我仅在我的IDE知道Header文件时才获得智能感知吗?

Do I only get intellisense when my IDE knows the Header files?

推荐答案

Visual Assist 是商用VS2010扩展,您可能会在这方面发现有用.

Visual Assist is a commercial VS2010 extension that you may find useful in this regard.

另请参见此问题.

这篇关于用于CLR项目的Intellisense-例如System.Windows.Forms的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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