Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 835
Paolo Tedesco Avatar asked Nov 17 '15 13:11

Paolo Tedesco


People also ask

How do I get Visual Studio to autocomplete?

The suggestion list of Automatic completion appears as soon as you start typing a new identifier. The suggestion list of Basic completion appears when you press the default Visual Studio IntelliSense shortcut Ctrl+Space . If necessary, you can always return to the Visual Studio's native's IntelliSense.

How do I enable IntelliSense in Visual Studio 2019?

Note: We have several Preview features which are off by default and can be enabled through the Tools > Options > IntelliCode page.

How do I turn on VS in IntelliSense?

You can enable or disable particular IntelliSense features in the Options dialog box, under Text Editor > C/C++ > Advanced.


1 Answers

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

like image 106
Moumit Avatar answered Oct 04 '22 03:10

Moumit