Q: Intellisense

G

Geoff Jones

Hiya

I'm using VB.Net and wondering if somebody could tell me how to stop the
Intellisense system doing something rather irritating.

Basically, if I write some code for an object as soon as I write the period
i.e. dot, I get a list of all the members available. Fine! No problem there.
However, suppose, for example, I am writing for the button click event of a
toolbar. When I write

e.

I get a context menu saying that Button is a possiblity - which is what I
want BUT when I press return I get

e.Button()

followed by a carriage return! Unfortunately, in this case, what I want is

e.Button Is tbbAnotherMethod

etc. That is, I don't want the brackets and CR so I have to backspace to get
back to the Button text!

Can anybody help?

Thanks in advance

Geoff
 
A

Armin Zingler

Geoff Jones said:
Hiya

I'm using VB.Net and wondering if somebody could tell me how to stop
the Intellisense system doing something rather irritating.

Basically, if I write some code for an object as soon as I write the
period i.e. dot, I get a list of all the members available. Fine! No
problem there. However, suppose, for example, I am writing for the
button click event of a toolbar. When I write

e.

I get a context menu saying that Button is a possiblity - which is
what I want BUT when I press return I get

e.Button()

followed by a carriage return! Unfortunately, in this case, what I
want is

e.Button Is tbbAnotherMethod

etc. That is, I don't want the brackets and CR so I have to backspace
to get back to the Button text!

Can anybody help?

Press <space> if you need a <space>.


--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html
 
G

Guest

If I understand what your after correctly you just need to use the TAB key instead of the RETURN key

Regards, Synthanator
 
C

Chris Dunaway

BUT when I press return I get

e.Button()

Then don't press return, press space. It will still complete and it will
be a more natural method of coding.

HTH
 
H

Herfried K. Wagner [MVP]

* Chris Dunaway said:
Then don't press return, press space. It will still complete and it will
be a more natural method of coding.

I prefer pressing Tab in this situation... ;-).
 

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