Home > Blockchain >  Disabling specific autocomplete in visual studio
Disabling specific autocomplete in visual studio

Time:11-09

Is there any way to control the below behaviour?

Gif1

When I type the letter x and press spacebar, visual studio autocompletes to using XmlReadMode, when i simply want to use x. Is there a way to control what vs autocompletes and what it doesn't? I don't want to turn the feature completely off.

I have looked into the settings for intellicode, however i can't see any settings for configuring it, only disabling it.

CodePudding user response:

Only solution is: Turn off intellisense autocompletion with spacebar and use only tab.

  1. Tools > Options > Text Editor > Advanced > Default IntelliSense completion mode: > select Tab-only in the dropdown.

  2. Restart Visual Studio.

See: https://learn.microsoft.com/en-us/answers/questions/760368/disabling-autocompletion-from-spacebar-in-vs-2022.html

  • Related