Is there a way to automatically put a closing curly brace as soon as i type an opening curly brace in Visual Studio 2010?
Netbeans offers a similar functionality and it comes in quite handy.
The Productivity Power Tools extension has an option for automatic brace completion.
Related
is there an equivalent of Eclipse's control Q shortcut (go to the last edit) in Visual Studio 2015?
I've tried control shift backspace but doesn't work
I'm using it quite a lot and it's really tedious having to do without it.
My Visual Studio no longer highlights matching braces in JS/TS files. It works in C#. How to get it back?
Close Visual Studio and delete your user settings file (e.g. MyProject.csproj.user) in the porject folder. Worked for me!
There is a post that goes on about Visual Studio with 'intelligent' word wrap in How to make word wrap respect indentation in Visual Studio?
However - its a personal preference and can make code more unreadable in some cases.
In Visual Studio 2013 - this auto-indentation is default behavior.
How do you in Visual Studio 2013 turn this off?, so we get word-wrapping going back to the previous way - all-left aligned?
There doesn't appear to be an option in Visual Studio Options, or maybe I am missing something. If it is missing in Visual Studio Options, does anyone know of an add-in that will reset this auto-indentation?
I have VS2010 but try this:
Options/Text Editor/C#/Tabulations and then at identation block select none.
PS. You have to expand the options, if you select text editor it will show only the general options for text editor.
What Visual Studio 2010 extension or setting turns on the feature pictured below? It allows me to jump to the matching brace and for conditional statements, it gives me a peek of the condition at the closing brace.
VSCommands for Visual Studio 2010 has feature called Code Block End Tagger
How Do You Turn On Parenthesis Matching in Visual Studio 2005?
This is relevant to programming because there's lots of open/close parens... and paren-matching speeds things up a lot.
For me Visual Studio (2008) does this automatically for C#, but not for C++.
To get paren matching in C++ I have to have Visual Assist enabled.
Invoking the following keyboard shortcut on the starting or closing parenthesis should jump to the matching one:
Ctrl-]
If they are unmatched you should be able to spot this pretty quickly.
I didn't have to enable anything in VS2005 to use this functionality.