By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,886 Members | 1,342 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,886 IT Pros & Developers. It's quick & easy.

Intellisense

P: n/a
Hi,

I have started using long (descriptive) variable names in my VB.Net (2003)
projects. I would like to know how to turn on typing assistance in the IDE.
I have seen somewhere that as you start to type, the predictive text (be it
variable name or a function name) starts to show up. I am more interested in
having my variables be auto-completed. Currently I can type part of a
variable and press Ctrl+J to get a list but I think it is possible to have
that available automatically.

Thank you.
Nov 21 '05 #1
Share this Question
Share on Google+
6 Replies


P: n/a
One suggestions: Use as many UDF's and Enums as you can for your variables
and constants. For example, I use "cfg." to store my settings. Example:

Public Type cfgT
FirstName As String
LastName As String
'
'
LastSaved As LastSavedT ' Contain controls contents, like TextBoxes
End Type

Public cfg As cfgT

In the code, just type "cfg."


"Dragon" <ba***********@hotmail.com> wrote in message
news:uQ*************@TK2MSFTNGP10.phx.gbl...
Hi,

I have started using long (descriptive) variable names in my VB.Net (2003)
projects. I would like to know how to turn on typing assistance in the
IDE.
I have seen somewhere that as you start to type, the predictive text (be
it
variable name or a function name) starts to show up. I am more interested
in
having my variables be auto-completed. Currently I can type part of a
variable and press Ctrl+J to get a list but I think it is possible to have
that available automatically.

Thank you.

Nov 21 '05 #2

P: n/a
Hi namesake 8=]

I don't think that's possible. Just imagine: you press Enter and type
'd'. Immediately a list of all available variables pops out, but you
just wanted to enter mere Dim statement...
This way IDE will have to show all available variable names each time
you can type one. Very annoying, don't you think?
IDE already has Intellisense for many common situations, and as for
variables,
you can:

1. Type Me. and you'll get a list of Class-level
variables/methods/whatever else.
2. Use Ctrl-Space instead of Ctrl-J. IMO this is more convenient.

I hope this helps,
Roman

"Dragon" <ba***********@hotmail.com> сообщил/сообщила в новостях
следующее: news:uQ*************@TK2MSFTNGP10.phx.gbl...
Hi,

I have started using long (descriptive) variable names in my VB.Net (2003) projects. I would like to know how to turn on typing assistance in the IDE. I have seen somewhere that as you start to type, the predictive text (be it variable name or a function name) starts to show up. I am more interested in having my variables be auto-completed. Currently I can type part of a
variable and press Ctrl+J to get a list but I think it is possible to have that available automatically.

Thank you.


Nov 21 '05 #3

P: n/a
"Dragon" <ba***********@hotmail.com> schrieb:
I have started using long (descriptive) variable names in my VB.Net (2003)
projects. I would like to know how to turn on typing assistance in the
IDE.
I have seen somewhere that as you start to type, the predictive text (be
it
variable name or a function name) starts to show up. I am more interested
in
having my variables be auto-completed. Currently I can type part of a
variable and press Ctrl+J to get a list but I think it is possible to have
that available automatically.


I don't have an answer to your question, but the text-editor of VC# 2005
will support somehing similar. Sadly the great auto-complete and
IntelliSense experience of VC# 2005 won't be available to VB 2005 :-(((.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #4

P: n/a
Thank you Someone.
"Someone" <no****@cox.net> wrote in message
news:nwf_e.55310$ct5.14037@fed1read04...
One suggestions: Use as many UDF's and Enums as you can for your variables
and constants. For example, I use "cfg." to store my settings. Example:

Public Type cfgT
FirstName As String
LastName As String
'
'
LastSaved As LastSavedT ' Contain controls contents, like TextBoxes
End Type

Public cfg As cfgT

In the code, just type "cfg."


"Dragon" <ba***********@hotmail.com> wrote in message
news:uQ*************@TK2MSFTNGP10.phx.gbl...
Hi,

I have started using long (descriptive) variable names in my VB.Net
(2003)
projects. I would like to know how to turn on typing assistance in the
IDE.
I have seen somewhere that as you start to type, the predictive text (be
it
variable name or a function name) starts to show up. I am more interested
in
having my variables be auto-completed. Currently I can type part of a
variable and press Ctrl+J to get a list but I think it is possible to
have
that available automatically.

Thank you.


Nov 21 '05 #5

P: n/a
That is simply not fair :-(
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:%2******************@TK2MSFTNGP14.phx.gbl...
"Dragon" <ba***********@hotmail.com> schrieb:
I have started using long (descriptive) variable names in my VB.Net
(2003)
projects. I would like to know how to turn on typing assistance in the
IDE.
I have seen somewhere that as you start to type, the predictive text (be
it
variable name or a function name) starts to show up. I am more interested
in
having my variables be auto-completed. Currently I can type part of a
variable and press Ctrl+J to get a list but I think it is possible to
have
that available automatically.


I don't have an answer to your question, but the text-editor of VC# 2005
will support somehing similar. Sadly the great auto-complete and
IntelliSense experience of VC# 2005 won't be available to VB 2005 :-(((.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #6

P: n/a
Thank you, er, Dragon? :-)
"Dragon" <no@spam.please> wrote in message
news:%2***************@TK2MSFTNGP10.phx.gbl...
Hi namesake 8=]

I don't think that's possible. Just imagine: you press Enter and type
'd'. Immediately a list of all available variables pops out, but you
just wanted to enter mere Dim statement...
This way IDE will have to show all available variable names each time
you can type one. Very annoying, don't you think?
IDE already has Intellisense for many common situations, and as for
variables,
you can:

1. Type Me. and you'll get a list of Class-level
variables/methods/whatever else.
2. Use Ctrl-Space instead of Ctrl-J. IMO this is more convenient.

I hope this helps,
Roman

"Dragon" <ba***********@hotmail.com> сообщил/сообщила в новостях
следующее: news:uQ*************@TK2MSFTNGP10.phx.gbl...
Hi,

I have started using long (descriptive) variable names in my VB.Net

(2003)
projects. I would like to know how to turn on typing assistance in the

IDE.
I have seen somewhere that as you start to type, the predictive text

(be it
variable name or a function name) starts to show up. I am more

interested in
having my variables be auto-completed. Currently I can type part of a
variable and press Ctrl+J to get a list but I think it is possible to

have
that available automatically.

Thank you.


Nov 21 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.