'How to stop coerced autocomplete/suggestion in VS Code

When I write a code in VS Code it's frequently giving me autosuggestion which is great, but sometimes the very specific thing I'm looking for is not there and I want to discard that suggestion and keep going with what I'm writing. when I press the space bar or the tab key the autosuggestion will take a place; I don't want that, I want to discard the suggestion without disabling the feature.



Solution 1:[1]

In VS 2022, you can still disable the space-bar auto-complete with IntelliSense.

Tools-> Options -> Text Editor/Advanced

Set Default IntelliSense completion mode; to Tab-only.

After restarting VS, this worked for me to stop auto-complete with spacebar. Now I can type in peace and not worry about random insertions, but tab is still available for auto-complete for the many times I need it as well.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 SakerCobalt