1

In Visual Studio 2010, I am writing a project in VB. I am used to writing in C# and I am getting frustrated with how when you press enter to autocomplete the intelisense suggested word it goes to a newline. In c# it stays on the same line. How can I make VB do that?

Here is a video better explaining my problem:http://youtu.be/fjL8OywIpug

jth41
  • 3,808
  • 9
  • 59
  • 109

1 Answers1

4

Not possible to get the C# behaviour: VB.NET IntelliSense : Disable newline on ENTER autocomplete

  • You could press space instead (you have to remove the redundant white-space afterwards)
  • or you could press Ctrl + Enter
Community
  • 1
  • 1
Tim Schmelter
  • 450,073
  • 74
  • 686
  • 939
  • Not sure how i managed to make Ctrl+Enter not work, I am reduced to Tab. I'm so glad I don't use VB every day. – Ernesto Oct 15 '16 at 16:05
  • I use '.' (<- dot) when I know I want to go deeper into a nested object. (Also I refuse to accept this answer just yet - I don't want to be forced into bad VB-Coder habits. ;P ) – Jan Apr 20 '18 at 13:36
  • Now I do and I will install VS2017 to make it work. =) https://stackoverflow.com/questions/8977333/vb-net-intellisense-disable-newline-on-enter-autocomplete – Jan Apr 20 '18 at 13:42