Reputation: 171
By default, Visual Studio 2022's IntelliCode Auto Completion works by pressing the Tab key. Unfortunately that prevents you from using the Tab key to insert whitespace, leading to suggestions like this:
In order to avoid this, I'd like to change the key used to apply the whole line completion to a different key, but I can't find it in the Tools/Environment/Keyboard keyboard mapping menu. Does anyone know how to change this key?
Upvotes: 1
Views: 2376
Reputation: 10917
You could either turn off all or parts of IntelliCode (Tools
->Options...
->IntelliCode
) or press the ESC
key to cancel the suggestion and then press the TAB
key. See the MS Docs for more details.
You can change the Whole line completion to the right arrow if that is better. There doesn't seem to be any way to choose your own key though.
Upvotes: 3