How do I make the Enter key on intellisense when t

2019-02-21 17:17发布

问题:

I'm using Visual Studio 2008 and I'm used to C# where when Intellisense pops up, I select what I want by hitting enter and it doesn't skip down to the next line. In VB when I hit the enter on intellisense, I jump to the next line. Does anyone know where the setting for this intellisense option might be?

回答1:

Hitting the SPACEBAR or TAB key in VB does the same thing that ENTER does in C#.



回答2:

I know that this doesn't really answer your question, but intellisense is designed to work so that you just push the "next" character to choose the highlighted item (such as open parenthesis, period, semi-colon, etc).



回答3:

I was bothered by this behavior in VB as well. This will be fixed in the next version of Visual Studio with a new setting for enter-key behavior. https://github.com/dotnet/roslyn/pull/11873 Corrected link: https://github.com/dotnet/roslyn/pull/11769