Variable declaration intellisense...

  • Thread starter Thread starter Da~One
  • Start date Start date
D

Da~One

Hi all:

I am almost positive someone showed me how to do this before, but I cannot
remember how it is done.

Problem:

<csharpcode>
public void DoSomething()
{
SqlConnection cn = new SqlConnection();
}
</csharpcode>

Before I type the first SqlConnection, how can I get the intellisense to
pop-up? (If I am not being clear, I want to get the intellisense to pop-up
when I declare the class type, much like what happens in VB.NET after you
type the "as" keyword in a variable declaration).

I always forget the case of classes, so I find myself typing "System..." so
that I can get the intellisense to pop up, there has to be a better way...

Thanks.
 
Type in the first couple letters of the type name and the hit CTRL+SPACE, it
will give you intellisense. This is the same in VB.
 
Back
Top