IntelliSense - VS2008 - ??

T

Timothy

Hi,
I'm a C/C++/C# programmer going over VB and trying to learn it. The one
thing I love about VS is intellisense, but it is very hard to get used to
the VB way, especially after I select an item in the popdown list and press
Enter to put it in. VB in VS seems to go to the next line. At any rate, I
don't like using the mouse. My question:

When typing in property, then pressing Tab...Tab, it code completes a
property for me (got to love it). You Tab around to change the variable
names, BUT, why is it when i press Enter, it doesn't complete it, it puts
everything on the next line...? What are the key combo to "complete" what
I'm doing in VB's VS2008?

Thank you.
 
R

Rory Becker

BUT, why is it when i press Enter, it doesn't complete
it, it puts everything on the next line...? What are the key combo to
"complete" what I'm doing in VB's VS2008?

I don't have a copy of VB2008 at the moment but as I recall, you should hit
the key that you would logically be about to hit if you had typed the last
character of the item being selected via intellisense.

Studio will then use that key in the manner it would normally.

Thus if you use enter, vs will complete and add a line....If you use space
vs will complete and add a space... finally if you hit .(period), then vs
will complete and add a period. this will likely Trigger a further round
of intellisense.
 
C

CMoya

If I'm understanding your question, you're suppossed to hit TAB to complete
and dismiss the dropdown.
 
S

Scott M.

Hit [TAB], not [ENTER].


Rory Becker said:
I don't have a copy of VB2008 at the moment but as I recall, you should
hit the key that you would logically be about to hit if you had typed the
last character of the item being selected via intellisense.

Studio will then use that key in the manner it would normally.
Thus if you use enter, vs will complete and add a line....If you use space
vs will complete and add a space... finally if you hit .(period), then vs
will complete and add a period. this will likely Trigger a further round
of intellisense.
 

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