VB.NET IntelliSense : Disable newline on ENTER autocomplete

asmo picture asmo · Jan 23, 2012 · Viewed 23.2k times · Source

When editing C# code in Visual Studio 2010, the ENTER key makes IntelliSense complete the current suggestion, without adding a new line.

In VB.NET, the default IntelliSense behavior for the ENTER key is to add a new line after completing the current suggestion.

How can I configure IntelliSense to change the VB.NET behavior to the C# one?

I already know that I could press TAB or SPACE, but out of habit I always end up hitting ENTER (and changing line).

Answer

Abdelilah El Aissaoui picture Abdelilah El Aissaoui · Aug 9, 2016

UPDATE VISUAL STUDIO 2017:

Now with Visual Studio 2017 you can change it. Tools -> Options -> Text Editor -> Basic -> IntelliSense. In Enter key behavior select Never add new line on enter

ANSWER FOR VISUAL STUDIO 2015 AND PREVIOUS:

Resharper makes it possible overriding Visual Studio intellisense and using its own intellisense. It is the only way I've found. It has a 30 days free trial if you want to test it.