IntelliSense Suggestion Mode

Tips Search

IntelliSense Suggestion Mode

  • Comments 10

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.

  • I've tried to find a way to save the setting of this, since I'm getting annoyed at having to press ctrl+alt+space every time I load VS. But no luck. If there is no such way the devs should really add it!

  • Its really annoying to always turn this off. There should be a way to turn this off permanently.

  • This is nice, I was very mad about this, thanks

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