Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VB.NET IntelliSense : Disable newline on ENTER autocomplete

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:

If you want to avoid inserting new line on enter with autocomplete suggestion, just don't press enter. Instead of Enter press Space bar which completes your autofill and just inserts a space.

Or you may use this third party app:

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.


Unfortunately the set of trigger keys for intellisense completion is not a configurable item for VB.Net. There is no way in the default Visual Studio environment to change this behavior.

It would be possible to develop a plugin of sorts to accomplish this. However that's a pretty extreme measure.

EDIT As of Visual Studio 2017, it is now possible to change this. See the answer below


Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!