简体   繁体   中英

How to stop auto complete in Visual Studio 2013 C#

I'm having trouble with the auto completion in Visual Studio (C#), because it keeps completing stuff I dont want it to. For example if I do int x = z; Then when I press z it suggests "DivideByZeroException", and if i press ; then it chooses this completion. I only want to accept the marked auto completion with enter. How can I do this?

This is not possible in C#. You can do it in C++ like this .

You'll have to press Esc to close the AutoComplete box before pressing ; .

BTW I think if you had Resharper you could do it.


As you mentioned you do have Resharper, you can configure your completion characters from
ReSharper | Options | Environment | IntelliSense | Completion Characters
as documented here .

Go to Tools>Options>TextEditor>General UnCheck That you don't want. You can also check All Languages section

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM