IntelliSense Suggestion Mode

Tips Search

If you like the tips then you'll love the book!

Order your copy today:
http://www.amazon.com/gp/product/0735649928

IntelliSense Suggestion Mode

  • Comments 7

Keyboard:  CTRL + ALT + Spacebar
Menu:  Edit -> IntelliSense -> Toggle Completion Mode
Command:  Edit.ToggleCompletionMode
Versions:  2010
Published:  1/22/2010
Code:  vstipEdit0012

 

IntelliSense comes in two modes:  Completion and Suggestion.  You are already familiar with IntelliSense Completion mode, it's the traditional mode that we have all used for years.  But if you are into Test Driven Development (TDD) then Completion mode can be very annoying at times.  As a TDD developer we often use classes and members BEFORE they exist.  It's pretty annoying when you go to type the name of something that doesn't exist and you get IntelliSense.  Especially since you sometimes will accidentally get a an option you didn't want:

image

 

The solution is Suggestion mode.  Just hit CTRL + ALT + Spacebar to go into this mode:

image

 

Now you get the best of both worlds:  You can type in a name that doesn't exist AND have quick access to the Completion mode options as well.  The dangers of getting an option you don't want are removed.  Pretty cool stuff.

  • Hey Now Zain,

    IntelliSense is great!

    Thx 4 the info,

    Catto

  • Thanks a lot ! I was blocked on Suggestion Mode, it was a big pain, i prefer Completion Mode.

  • Can you turn this off? For some reason it kicks in pretty often and I really don't like it.

  • Hey Quiark,

    To my knowledge there is currently no way to turn this feature off in VS2010 other than the keyboard shortcut.  

    Z

  • I'm very glad to know how to turn auto-completion off, but I have to comment on the mindset of this explanation!

    "if you are into Test Driven Development (TDD) then Completion mode can be very annoying at times" - Oh my! I must be really "into" TDD, then! ;-)

  • Yeah good point.  There are others who aren't into TDD who may want to turn this off too. :)

    Z

  • Thanks man, I must have accidently pressed these same buttons to get into the wrong mode.

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