all groups > dotnet general > october 2003 >
You're in the

dotnet general

group:

Intellisense Completion of Types in C#


Intellisense Completion of Types in C# Eric Robishaw
10/15/2003 9:10:43 PM
dotnet general:
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

Re: Intellisense Completion of Types in C# Joshua Flanagan
10/15/2003 9:51:09 PM
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.


[quoted text, click to view]

AddThis Social Bookmark Button