Jump to content
Xtreme .Net Talk

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


Recommended Posts

Posted

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

Posted

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. :)

Gamer extraordinaire. Programmer wannabe.
Posted

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.

Posted

Like for myFunc()

 

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.

Posted

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.

Gamer extraordinaire. Programmer wannabe.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...