Intellisense Completion of Types in C#

  • Thread starter Thread starter Eric Robishaw
  • Start date Start date
E

Eric Robishaw

OK...going nuts here:

If i have a variable of type X that is an enumeration, how do I get
intellisense to fill in the prefix for me?

i.e.,:
when I type:
if (e.Action =
I want intellisense to plug in:
System.Data.DataRowAction.
and then give me the drop down which lists the members: Add, Delete, Etc...
i.e.,:
if (e.Action=System.Data.DataRowAction.DROPDOWNHERE

Right now, I have to type:
if (e.Action=
then mouse over the "Action", see what Action is a type of and type the
whole stinking prefix just to get intellisense to give me the drop down.

There's got to be a short cut, or a plug-in to fix this...please tell me
there is?!

Eric
 
If there is, I don't know about it (I think this is another example of how
the VB.NET IDE is better than C#)

BUT, you dont have to type in the whole prefix, you could just type the
first couple letters and then press CTRL-SPACE. That is by far the best
shortcut key in the whole IDE, as it works for type names and variable names
as well.
 
Back
Top