How to make Visual Studio IntelliSense to not automatically complete a word, do this only by TAB key?

7,877

Solution 1

Just switch off auto completion mode using the settting: Edit->Intellisense->Toggle Completion Mode

You can see more information here: https://msdn.microsoft.com/en-us/library/hcw1s69b.aspx

"You can also change to suggestion mode, in which only the text you type is inserted into the code."

Solution 2

Yes, ctrl+alt+space toogles between suggestion mode and standard completion mode. In suggestion mode what you type is part of options you can use.

Share:
7,877

Related videos on Youtube

Eugene  Maksimov
Author by

Eugene Maksimov

Updated on September 18, 2022

Comments

  • Eugene  Maksimov
    Eugene Maksimov over 1 year

    Sometimes IntelliSense behavior is very annoying. For example, typing in c# editor "Random[SPACE]" resulted "Random3DDataGenerator" in my code when the is no "using System;" in the code. I had to press [CTRL]+[Z] to return back the "Random" word.

    In earlier versions of VS there was an option which said after which characters auto-completion is applied, but now it seems there is no such option.

    Is there some ways to avoid this annoying behavior?

    • David Jeske
      David Jeske about 4 years
      there used to be a way in Visual Studio to set the set of keys which will trigger a completion, which I loved.. but I can't find it right now.. i don't know if that is because it's buried, or because it has been removed.
    • Eugene  Maksimov
      Eugene Maksimov over 2 years
      Yes, they removed it.
  • DJ van Wyk
    DJ van Wyk over 4 years
    This works in SSMS as well (something I wish I knew 15 years ago)
  • Natacha
    Natacha almost 4 years
    Is asking how to change the completion key config, not how to disable the functionality entirely and change for a similar one. :)