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.
Related
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
Unfortunately now I am one of those people who are asking for help to find some individual setting inside Visual Studio but after quite a long time of searching I am simply giving up.
I need the following feature of both Visual Studio 2008 and 2010 turned on:
If you click an identifier in your source code Visual Studio will highlight all other occurrences of this identifier with Grey.
Maybe:
I can't test this out myself, can't tell if it's a MSVS feature or Visual Assist. You might need Intellisense enabled for this.
This extension of Visual Studio will Highlight all occurrences of selected word
http://visualstudiogallery.msdn.microsoft.com/4b92b6ad-f563-4705-8f7b-7f85ba3cc6bb
I'm looking for a syntax highlighter for Visual Studio Express. I love Visual Assist, however it only works with Visual Studio Professional Edition, not Express.
Visual Studio 2010 actually has fairly decent syntax highlighting but there are some things I really miss from Visual Assist that I'm hoping I can find for VS Express, specifically:
Highlighting local variables in bold, and italicizing stable variables and methods.
Highlighting variables/methods/objects throughout a file just by clicking on it, and highlighting reads in a different color than writes (VS colors reads/writes the same color).
Syntax highlighting within Intellisense and auto-complete option dialogs.
In addition to just syntax highlighting it would also be great to have the some of the shortcuts like Visual Assist offers, like easily finding files in your solution/project, or switching between .h/.cpp files in C++. I also really like how IntelliJ IDEA's IDE takes you to a definition if you hold CTRL and click on a symbol.
I'd prefer something free or cheap, but I'm willing to pay for something if it's worth it.
And just to provide some background, I must use VS2010 because I'm developing a game engine in XNA 4.0, and it only works with Visual Studio. Otherwise I would definitely be open to suggestions of just using an IDE with more options, like IntelliJ IDEA or Eclipse.
The answer to this is in the comment by Cody Gray:
The Express version doesn't support extensions
For some reason, on a new computer, Visual Studio won't auto-close curled brackets.
if(Username.Text.Equals()) {
And it doesn't auto-close. Works perfectly on all other machines I've installed VS2010 on. And now it just won't.
And there doesn't seem to be a setting in the options menu to alter this behavior. What do I need to do?
I'm not sure if this is actually built in to vs2010. But you can install the MS Productivity Power Tools (Productivity Power Tools for Visual Studio 2012) Which will give you brace auto completion. this is quite a common add in so maybe the other copies of VS you have tried have it installed??
Visual Studio will auto-format matching pairs of brackets as you type, but I have never seen this on Visual Studio 'out of the box'.
According to this Microsoft Connect entry, it's officially not on VS2010, having been cut due to time priority issues vs time constraints.
However, add ons like the free Microsoft Productivity Power Tools, or the not-so-free JetBrains ReSharper will add this functionality for you. Perhaps you had one of these (or other similar) add-ons installed in the other computers you have previously worked on.
Is there a way to collapse all the files at once in the Solution Explorer window in Visual Studio?
Use the extension Collapse Solution. Usually, this feature comes with ReSharper, but I presume that you are not using ReSharper.
There are also a lot of macros out there that help you do the same. One of them is in ‘Collapse All’ in Visual Studio.
Note: There is no inbuilt way in Visual Studio to actually achieve this. And considering just how practical it is, I would have thought they would have added this kind of feature way back in Visual Studio 2005 itself. I know people have been asking for it for years. But in their infinite wisdom, Microsoft don't consider it important enough.
In visual studio 2013, there is a button in solution explorer - Collapse All
I think this extension have requested functionality - PowerCommands for VS 2010.
Also Productivity Power Tools
contains solution navigator which also have this feature and much more usefull stuff for solution navigation and search.
Edited: there also a lot of examples of macro, doing this stuff.
Try free VSCommands 2010 Lite extension. It has this and few other free features.
In Visual Studio 2013 you can do it with right click by Solution -> Collapse All
Of course, you can collapse any selected node by pressing '-', but I understand you are probably looking to collapse the entire tree.