Paolo Tedesco
Paolo Tedesco

Reputation: 57192

Configure keys that trigger intellisense completion in Visual Studio

I would like Visual Studio to autocomplete the current entry in the intellisense menu only when I hit tab.

Autocompletion being triggered, for example, when I press a period, is forcing me to hit escape every time I'm writing something that cannot yet be autocompleted, to avoid that what I'm typing gets replaced with a random entry.

Is there an option to configure this?

I'm using Visual Studio 2015, and programming in C#.

autocomplete example

Example: here I'm typing Log, which is a class for which I haven't yet added the appropriate using statement. None of the suggestions is the good one. If I hit . now, the autocomplete feature will write EventLogProcessor, which is not what I want.

Please note that this question has nothing to do with VIM, this is not a duplicate of the question linked at the top.

Upvotes: 17

Views: 8279

Answers (2)

Vlad274
Vlad274

Reputation: 6844

For Visual Studio 2012, from the Menu Bar,

  1. Select Tools -> Options
  2. In the left pane, expand Text Editor -> C#
  3. Select InteliSense

The characters that commit are listed in a text box

Upvotes: 2

Moumit
Moumit

Reputation: 9510

Use Toggle Between suggestion and Standard completion mode option of visual studio .. It will now only suggest .. and if you press Tab it will complete your choice ..

Edit -> IntelliSense -> Toggle

Upvotes: 25

Related Questions