Click here to Skip to main content
15,867,900 members
Articles / Visual Studio / Visual Studio 2010

Visual Studio 2010 Productivity Power Tools Rocks!

Rate me:
Please Sign up or sign in to vote.
4.75/5 (3 votes)
8 Oct 2010CPOL5 min read 24.5K   18   5
Visual Studio 2010 productivity power tools rocks

I just want to share this free tool from Microsoft that makes my life as a developer really easy and it's called Visual Studio 2010 Productivity Power Tools which you can download here.

As defined in the site, Visual Studio 2010 Productivity Power Tools is a set of extensions to Visual Studio Professional (and above) which improves developer productivity. This comprises a different tool set of which definitely at least one will be very useful to you. And here is a list of what is useful for me. But before we start, you need to download and install it, you can either go to the Extension Manager like such:

Image 1

and go to online gallery to search for it or download in the link provided above. Once you have done it, turn on and off the tools you need just by going to Tools -> Options -> Productivity Power Tools and turn on only the things you want. Remember it costs some memory to enable this.

Image 2

Now, going to my list and a bit of an explanation on what they do.

Align Assignments

This feature is useful if you want to easily view your variable declarations which were like this before:

C#
private string sDomain = GlobalVariables.sDomain();
private string sDefaultOU = GlobalVariables.sDefaultOU();
private string sServiceUser = GlobalVariables.sServiceUser();
private string sServicePassword = GlobalVariables.sServicePassword();

Then, after typing, type Ctrl+Alt+], you will view it like this:

C#
private string sDomain          = GlobalVariables.sDomain();
private string sDefaultOU       = GlobalVariables.sDefaultOU();
private string sServiceUser     = GlobalVariables.sServiceUser();
private string sServicePassword = GlobalVariables.sServicePassword();

Auto Brace Completion

Are you not annoyed if you can't find the other pair of { in your code. Now with this feature, it will automatically close the following constructs:

  • ()
  • {}
  • []
  • <>
  • “”
  • ‘’

Column Guides

Having that issue above of missing brackets, sometimes you are tempted to draw an imaginary line to see where the other pair is, I even remember before when monitors are not yet LCDs, I even used whiteboard markers to get it right, this feature will draw that line for you. Just right click on the column you want that line and just go to Guidelines, it's the same for removing it as well.

Image 3

Then you have your line:

Image 4

Ctrl + Click Go To Definition

This feature will enable going to definition of an object by using CTRL + Click, which makes the object a hyperlink.

Rather than right click, go to definition:

Image 5

Document Well 2010

This tool certainly has a lot of features, but here are the most important things for me.

  1. Vertical tabs, just imagine finding all of those open codes on the old horizontal tabs, isn't that annoying clicking that small arrow on the top right location but with this tool, you can view it easily on the side.

    Image 6

    To enable this, use that annoying arrow on the top right portion of your IDE and select customize:

    Image 7

    Then, tick the check box that says show vertically:

    Image 8

  2. Pinning tabs, did you not look for that option before where you want to close tabs by selection, before it was only close all and close except this, but now you have the option to pin tabs and with that you can close all except pinned.

    Image 9

Highlight Current Line

This is self explanatory, it just highlights the current line. I don't know for other developers, but for me, I find it useful as it gives more visibility on what I want, especially when you have thousand lines of codes in a high resolution monitor. Once it's enabled, it highlights where you are on your sea of codes.

Image 10

HTML Copy

I guess this is one of the best features and the one I used most. It enables you to copy your codes how it is formatted on your IDE (spaces and colors) and paste it as HTML, imagine how easy your life will be when you are a blogger where you want to maintain the colors and spaces when you post your blog article, it's like that self code aware text editor on CodeProject or Stack Overflow. Also, please note this is not just good for blogging or websites, it is good as well for documentation.

Image 11

No need for a special copy command here, once you Control + C or right click copy it copies the HTML format.

Move Line Up – Down Commands

By pressing Alt + Up Arrow or Alt + Down Arrow keys, the selected lines of code will be moved up or down respectively, how cool is that!

Imaging this scenario, you need to bring those lines down:

Image 12

Before, you have to copy and paste, now you just press Alt + Down Arrow so the whole highlighted code is moved down below.

Image 13

Searchable Add Reference Dialog

Don't you just like this one, take note that this is really responsive. It filters as you type. Just remember those old days of waiting for that COM Object tab to populate the list of objects you can refer to.

Image 14

Solution Navigator

Think of it as a beefed up version of Solution Explorer where you can expand the code files to navigate to its classes and even members, you can also filter what shows using that search bar and even view what's only opened, unsaved and edited.

Image 15

Triple Click

It's one of those small things that make a difference. This makes selecting never easy and can be achieved by triple clicking a line of code.

As a Bonus

This is not included in the tool but I really like it, it's the power of CTRL + K + D, this formats your entire code to the proper spacing. So if you have codes like this:

Image 16

By clicking CTRL + K + D, it will be clean like this:

Image 17

That's it, so have a go at it. You won't lose anything. It will definitely make your coding easy as ever.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Technical Lead
New Zealand New Zealand
http://nz.linkedin.com/in/macaalay
http://macaalay.com/

Comments and Discussions

 
QuestionSource code Pin
Member 1145442915-Feb-15 17:51
Member 1145442915-Feb-15 17:51 
GeneralThanks! Pin
Anantharaman_N11-Oct-10 19:49
Anantharaman_N11-Oct-10 19:49 
GeneralRe: Thanks! Pin
Raymund Macaalay13-Oct-10 9:20
Raymund Macaalay13-Oct-10 9:20 
Many thanks in return reading the article

http://anyrest.wordpress.com
GeneralNice review! Pin
Bill W11-Oct-10 10:42
Bill W11-Oct-10 10:42 
GeneralRe: Nice review! Pin
Raymund Macaalay11-Oct-10 13:09
Raymund Macaalay11-Oct-10 13:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.