Intellisense

T

Travis

Hi, I was a user of Visual C# for a while and have gotten used to the
Intellisense for that program. I went to try Visual Basic, and the
intellisense is so much different. I'll try to make an example:

Say I want to write: MessageBox.Show("Hi there")

In C#, once I type just a single "M," everything (objects, classes,
everything) that begins with M will appear in the intellisense list. Once
you get to "Mes" MessageBox will be selected and you can just hit "." to get
to the properties.

In Basic, you have to type out "MessageBox" completely, then typing "." will
bring up intellisense for the first time, showing the properties.

How can I make the intellisense so that its like how it was in C#? It was so
much easier that way because you didn't have to memorize the name of every
object you created, just the first couple letters.

Thanks
 
B

Bruce W. Roeser

Travis,

Intellisense is available in VB.Net as early as it is in C# ... it's just
not as obtrusive. If you want it ealier just type that one letter 'm' and
hit CTRL-Space, you'll get the Intellisense list then.

I personally like Intellisense in VB.Net better than C#. The fact that it
pops up so early can be convenient sometimes but, to me, it gets in the way.
I prefer having the positive control of pressing CTRL-Space and telling it
to give me the list instead of it deciding to on it's own. Sometimes that
list really gets in the way when I would really prefer to type something
out. That's my preference, though.

-b
 
T

Travis

Thanks, I actually found that upgrading from the 2005 edition to the 2008
edition gave me the intellisense feature I was looking for. Odd that the
2005 versions of C# and Basic have different IntelliSense features. So I'll
use this version now, so I suppose my problem is solved :)

Thanks
 
S

Scott M.

FYI - It's not odd at all that the intellisense is different between the two
languages since the two different languages are implemented into Visual
Studio using two different dynamic compilers written by two different
programming teams.

Overall though, you get more comprehensive intellisense in the VB .NET
language.

-Scott
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top