The regular code completion in Visual Studio somehow turned into Copilot code completion:

It does not work though, replaces contents of the whole document with single-line proposed completion.

How can I return to the regular refactorings?
These are my Copilot options:

Bonus question: How to turn off Github Copilot completely?
I'm not sure about the autocomplete options as sometimes they all seem to fight (especially when other linting tools like Resharper are involved). However, to get rid of it completely you can uninstall CoPilot for VS2022 if you go to :
Tools > Get Tools and Features > Individual components
Untick GitHub Copilot:

It should remove it. Hope this helps
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With