Greatest Hits: Using Visual Studio 2010 IntelliSense with Keywords

Tips Search

Greatest Hits: Using Visual Studio 2010 IntelliSense with Keywords

  • Comments 3

Keyboard:  CTRL + J
Menu:  Edit –> IntelliSense –> List Members
Command:  Edit.ListMembers
Versions:  2010
Published:  2/8/2010
Code:  vstipEdit0016

 

The one feature we regularly use more than just about anything else in Visual Studio is IntelliSense.  It has been our friend for many years.  Well it just got more friendly!  To show you the new feature, let’s take a look at VS2008 IntelliSense.  Notice when I type Console.Key what happens:

clip_image002

 

It does what you would expect it to do and highlights the first (in this case—only) item that begins with the word “Key”.  That’s great but what if I don’t know what I am looking for but I know that it has the word “Key” somewhere in it?  Well, I can go search in the Object Browser, of course OR I can use the new IntelliSense in VS2010.  Watch what happens when i do the same thing in VS2010:

clip_image004

 

Voila!  It now shows only those items that have the word “Key” in them AND doesn’t care where the word is in the name of the member!  So not only do it get items that begin with “Key” but I get ANYTHING that has the word “Key” in it. 

  • That must be a Plugin, in my Visual Studio 2010 (Premium) doesn't work it!

  • @Mark : I do not think so, I am using Visual Studio 2010 (Professional) and I am able to simulate this trick...

  • Mark :)

    This comes standard with vs2010 out of the box for all sku's

Page 1 of 1 (3 items)
Leave a Comment
  • Please add 5 and 1 and type the answer here:
  • Post