I switched from Visual Basic to C# and where did the tooltips go?

Eloff

Freshman
Joined
Mar 20, 2003
Messages
35
Location
Canada
I started writing a program in C# and was baffled because all those handy autcomplete, tooltips, and parameter listings disapeared (Visual Studio .NET). I tried exploring about a bit but I couldn't turn them on. I'm sure that you can use them in C# I just can't figure out how to enable them. Anybody know?

Thanks,
-Dan
 
The intellisense for C# isn't as good as it is for VB. You need to actually start typing key words correctly, it won't auto correct it for you if you use lowercase on something that needs uppercase..

example;
console. - C# won't recognize this.
Console. - C# will give intellisense for correct uppercase usage.

As for auto completing etc... you need to be sure to hit that tab key to auto complete it, if you return to a new line it more then likely won't.

There are also some other oddities in there too. It's not that big of a deal, just don't rely on the IDE to program for you. :)
 
Ah so system, should be System now:) That would explain part of it. Dunno why it wasn't giving me parameter info on my function tho, does C# do this?

There are also some other oddities in there too. It's not that big of a deal, just don't rely on the IDE to program for you.

Damn. lol.
 
Like for myFunc()

Code:
Public int myFunc(string str)
{
//some code
}

Is there something for C# that will display the function declaration in a tooltip when I type myFunc(... ? I know it does this for visual basic.

Thanks.
 
Well, for starters public needs to be lowercase. :)

If you type in myFunct( it should give you intellisense. If it's not, try typing this. (equiv to Me.) and scroll down to the function name.

For some reason, though, it won't show intellisense for this if you try doing it inside the Main method. Other then that it should work fine.
 
That's because the Main method is static, so it knows nothing of the instance members of the class.

I hear the intellisense in the C# code editor is much improved in Visual Studio .NET 2003.
 
Back
Top