- Home /
How to Disable auto-completion in Visual studio?
When I type
public void Initialize
the second I put my first bracket, my line is changed to
public void OnServerInitialized() {
}
(
I have disabled Intellisense for C# in options. I assume this is Unity tools for VS messing with my code, where can I turn this off?
Answer by Bunny83 · Apr 05, 2017 at 11:39 AM
There are two ways how to avoid this:
First simply press "ESC" when the autocompletion window appears. It has be be pressed before you type your opening "(". Another way is to press "HOME" and "END" which will also close the suggestion window. Pressing "RIGHT" and "LEFT" arrow usually also works.
Second you can disable the autocompletion in the VS Tools settings. However keep in mind that any changes to this setting (enable / disable) requires a restart of Visual Studio to take effect.
Press ESC here:
Disable the feature here:
Pressing Escape when the auto-complete pop-over appears is NOT a good option for experienced programmers. We type faster than the ~200ms delay that it takes the human brain to notice an unexpected change and respond to it. (Ever touch a hot stove by accident and notice that it takes a split-second to instinctively pull your hand away? That's about 200ms.) Needing to press Escape each & every time the dialog appear would considerably slow down the typing speed of experienced programmers.
Your answer
Follow this Question
Related Questions
Intellisense not working on Unity 2019/2020 0 Answers
VS Code intellisense not working on MAC? 1 Answer
Autocomplete in VS not working for one particular project 0 Answers
Visual studio intellisense broke after update 0 Answers
Why does Visual Studio not show tooltip (Intellisense?) documentation for standard Mono classes? 3 Answers