Intellisense

  • Thread starter Thread starter Dragon
  • Start date Start date
D

Dragon

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.
 
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
 
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 said:
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 :-(((.
 
That is simply not fair :-(


Herfried K. Wagner said:
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 :-(((.
 
Thank you Someone.


Someone said:
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."
 
Thank you, er, Dragon? :-)


Dragon said:
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 said:
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.
 

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

Back
Top