Just migrated from vs10 to vs12 and it seems like the curly braces is completely broken along side with some other features like indentation in C# (?) for example type:
public static void myFunc() {
In visual studio 10 it would automatically add the closing curly brace for it. Is there some power tool or something that can fix this and give the same behavior? the Brace Completer requires to hit Enter after the function for it to add the closing braces.
Also in tools->options->text-editor->c#->formatting-> automatically format completed block on }
is turned on by default..
Editor Related Keyboard Shortcuts Alt + Shift +arrow keys( ← , ↑ , ↓ , → ) = Select custom part of the code. Ctrl + } = Match curly braces, brackets. Ctrl + Shift + } = Select text between matched braces, brackets.
Go to Tools->Options->Productivity Power Tools->Other Extensions and there is an option group called Structure visualizer options. In there is a checkbox for Show code structure in editor. Turn this off, and job done!
I. Visual studio change curly brace style(highlight braces background) "Tools" menu → Options → Environment → Fonts and Colors → Select "Brace Matching or Brace Matching(Rectangle)" under "Display items" → select a "Background Color" → OK → Finish.
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:
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