How to turn off brackets/quotes auto-completion in Visual Studio

C#AutocompleteVisual Studio-2012

C# Problem Overview


As it states in the title: how to I turn off brackets/quotes/curly braces autocompletion in MSVS? I'm interested in C# and XAML mostly but other text editors would be nice too.

EDIT: Currently I'm using MSVS 11 with these extensions:

  • AnkhSVN
  • Concurrency Visualizer
  • PreEmptive Analytics Aggregator Visualizer
  • MSVS PerfWatson
  • VsGraphicsDebuggerPkg
  • Web Tooling Extensions

Most of them must have been pre-installed with msvs installation, since I cannot recall installing them by myself ;)

EDIT2: I'm using msvs in this version: Version 11.0.50323.1 QRELB

EDIT3:
I found out the problem does not occur in currently available msvs11.

C# Solutions


Solution 1 - C#

If anyone is having this issue with VS 2013, there is a setting for this now. I just reset my VS settings and it started to complete my braces again. For me, it wasn't productivity power tools. You can turn it on/off here:

enter image description here

Solution 2 - C#

If anyone is by chance using Resharper you may also want to adjust the settings in

(Resharper Menu, Options) - Environment -> Editor -> Editor Behavior 

and

(Resharper Menu, Options) - Environment -> Intellisense -> Completion Behavior

according to your personal preferences, in addition to the built-in Visual Studio settings mentioned by others.

Solution 3 - C#

For Visual Studio 2017:

C# only:

> Tools > Options > Text Editor > C# > General > Automatic brace completion

All languages:

> Tools > Options > Text Editor > All Languages > General > Automatic brace completion

Solution 4 - C#

I realize you did not mention the Productivity Power Tools, however it is very easy to turn off with this. This package can be downloaded via nuget I believe.

Once downloaded go to Tools - Options - Productivity Power Tools - then on the right you will see auto Brace Completion. Turn off!

Solution 5 - C#

To turn off the double-quote auto complete for XAML in Visual Studio 2015, it is:

Tools -> Options -> Text Editor -> XAML -> Miscellaneous -> Attribute quotes

Solution 6 - C#

For those using the 2017 mac version of visual studio: Preferences > Text Editor > Behavior > Automatic Behaviors > "Insert matching brace"

enter image description here

Solution 7 - C#

Regarding ReSharper, you might also need to Clear chaches after adjusting settings as Nate Cook described.

enter image description here

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionSOReaderView Question on Stackoverflow
Solution 1 - C#Bob HornView Answer on Stackoverflow
Solution 2 - C#Nate CookView Answer on Stackoverflow
Solution 3 - C#SoenhayView Answer on Stackoverflow
Solution 4 - C#retsligView Answer on Stackoverflow
Solution 5 - C#Vince IView Answer on Stackoverflow
Solution 6 - C#pretzels1337View Answer on Stackoverflow
Solution 7 - C#albinView Answer on Stackoverflow