Follow us on Facebook!

Productivity Power Tools 2012 Now Available

Productivity Power Tools

July 2011

This update fixes a number of crashes reported with the Find extension. It also fixes an issue where the locations of floating document windows wasn't persisted correctly. You can find a set of known issues at the bottom of this page.

Avoid Extension Resets!
Since the February 2011 release of the Productivity Power Tools, your extension state (disabled or enabled) will be retained when you install a new version of the Tools as long as Visual Studio is running during the installation.  You can tell Visual Studio to automatically check for updates to installed extensions (Tools | Options | Environment | Extension Manager), as seen here:
 
When updates to any extension (not just the Productivity Power Tools) are posted to the Visual Studio Gallery you will see a toast notification in the Windows tray letting you know that there are updates available. 
   
Clicking on the popup will take you directly to the Updates tab of the Extension Manager, where you can quickly install the latest release of your extensions.  Please note, it may take a few moments for the Update list to populate in the Extension Manager. 
XP users: Please see known issues for problems updating the Productivity Power Tools

Quick Find  (Updated)
There are many different ways to find within Visual Studio (Incremental Search, Quick Find, Find in Files, Find Toolbar, etc) and it often isn’t clear which is the best for a given task or worse these options even exist. The find dialog itself also can obstruct code and jump around while users are searching. Our solution to these problems is the new Quick Find extension. In the screenshot below, you will see that we’ve turned the quick find & incremental search experiences into a find pop-up that is available at top right hand corner of the editor. After hitting, Ctrl+I or Ctrl+F, it simply highlights the find results as you type. From this small but powerful pop-up, you have access to most of the Quick Find functionality such as replace, options to match case and added support for matching .NET Regular Expressions!
As a result your feedback, we've added the ability to set the scope of the Find to Selection, Document, Project, or Solution. 
 
Release notes:
  • As an extension, it was only possible to implement these changes for the code editor. You still must use Quick Find for searching in designers and other non-editor tabs.
  • .NET Regular expressions are only available in the Find extension. Find in Files will continue to use VS Regular expressions
  • Feel free to email us your feedback: VSFindFeedback@microsoft.com

Enhanced Scrollbar 
We’ve been looking into ways that we can improve the experience of navigating through code files. Our solution is the source map which has three modes that will allow you to more easily see the interesting artifacts in your files (edits, breakpoints, bookmarks, errors, warnings etc) and make it easy for you to navigate between them. The default mode is the “scroll bar only mode” which overlays icons onto the standard scrollbar to allow for viewing of these artifacts. In the source map mode, we’ve replaced the default scroll bar allow you to click on any item on the scrollbar to navigate directly to it. This source map mode also provides a preview of the part of the document as you hover. Finally, we have the detailed source map mode, which allows you to get a zoom out view of your entire file. You can switch between any of these modes by right-clicking on the scroll bar or going to Tools Options>Productivity Power Tools>Source Map where we have a host of other options that you can configure.

Middle-Click Scrolling 
The ability to do middle click scrolling in Visual Studio 2010 has been a top request from our beta customers that we weren’t quite able to get into the release. With this extension you can press down on your scroll wheel and the move the mouse to quickly scroll through your document!

Organize Imports for Visual Basic
As part of the co-evolution strategy for Visual Basic and C#, we continue to bring the best features from each language experiences to the other. With Organize Imports for Visual Basic we’ve added yet another feature to that list. From the context menu, it allows you to sort the imports logically and remove the ones that aren’t being used.

Solution Navigator
Solution Navigator is a new tool window that acts like an enhanced Solution Explorer.  With it, you can:
  • Expand code files to navigate to its classes, expand classes to navigate to their members, and so on (C# and VB only)
  • Search your solution, all the way down to class members
  • Filter your solution or projects to see just opened files, unsaved files, and so on
  • View related information about classes and members (such as references or callers/callees for C#)
  • Preview images by hovering over them, or preview rich information by hovering over code items
  • We've also added support for multiple selection and drag & drop.
In other words, it merges functionality from Solution Explorer, Class View, Object Browser, Call Hierarchy, Navigate To, and Find Symbol References all into one tool window!

Solution Navigator also provides interactive tooltips in C# and VB code (replacing the default “quick info” tooltips) that give you the same kind of data, but right at your fingertips.  In addition to getting the tooltips on hover, you can: 
  • Press Ctrl+1 to open a relevant tooltip at the current cursor location
  • Press Ctrl+2 to quickly navigate to any class/member in the current source file

Tab Well UI  (More Info)
This extension allows you to completely customize the behaviour of your document tabs from the Productivity Power Tools Options:

Searchable Add Reference Dialog (More Info)
The new Add Reference dialog makes it faster and easier for you to find the reference that you are looking for and add it to your VB, C# or F# project.  From the Solution Explorer, simply right click on the References node, select the Add Reference command to see the updated Add Reference Dialog. 

Tools Options Support
As much as we try, some experiences in the Productivity Power Tools are not for everyone.  If you want to shut off an extension, go to Tools | Options | Productivity Power Tools and find the extension on the right (remember to scroll!).  By toggling the slider to Off and restarting Visual Studio, that extension will no longer be loaded and you will revert to the default Visual Studio behavior.  

Quick Access  (More Info)
Quick Access is a new tool window that allows users to search for and execute common tasks within the Visual Studio IDE.  Not sure where a particular menu command is located?  Want a quick way to create a new Silverlight project? By using Quick Access,  you can efficiently find and execute common VS operations without taking your hands off the keyboard.  Quick Access allows users to:
To use, press Ctrl+3 to launch Quick Access, type in your search term (e.g., “debug”), and press Enter on the desired result.  If your search term returns too many results, continue pressing Ctrl+3 to cycle through each category of results.

Auto Brace Completion
Automatic Brace Completion improves the productivity of writing code by automatically inserting the closing code construct when the opening construct is typed for VB & C#.  More specifically, this extension:
The extensions from the previous Producitivity Power Tools have been included and improved. See the revision notes at the end of this post:

Highlight Current Line
As the resolution of monitors increases, it’s becoming more difficult to find the caret in the code editor.  The highlight current line extension makes it easy to find the caret by highlighting the line that the caret is on in the editor.  You can even configure the default colour by changing the setting for “Current Line (Extension)” and “Current Line Inactive (Extension)” in Tools Options Fonts & Colors. 

HTML Copy (More Info)
This extension provides support for the HTML Clipboard format when cutting or copying code from the editor.  This means that you’ll no longer have to go fix up the formatting of your code when you paste it into a TFS bug form or any other HTML based control.  It is possible to modify the html format which gets copied to the clipboard and with the release you now have the ability to customize that to suite your needs. Simply go to Tools | Options | Productivity Power Tools |  HTML Copy:

Triple Click
It’s never been easier to select a line of code from the mouse by simple triple-clicking anywhere on the line. 

Fix Mixed Tabs
Some developers prefer tabs, others prefer spaces, and nobody likes mixing tabs & spaces.  This extension promotes developer harmony by warning as they are open or save a file that has a mixture of tabs & spaces.  The information bar also provides an easy way to fix the file to suit your preference. 

Ctrl + Click Go To Definition
This extension gives the editor a web browser by adding clickable hyperlinks to symbols in your code as you hold down the Ctrl key.

Align Assignments
This extension is useful for making your code a little more readable by aligning the assignments when you type Ctrl+Alt+] such that it takes this:
    
And turns it into this:
   
Note! This may conflict with your formatting settings. E.g. in C# you will need to disable: Tools->Options->Text Editor->C#->Formatting->Spacing->"Ignore spaces in declaration statements"

Move Line Up/Down Commands
This extension maps the Alt+Up Arrow & Alt+Down Arrow keys such that they will move the current line of code or the selected lines up and down through the editor. 

Column Guides
Since Visual Studio 2002, there has been a not so secret registry key which allowed user to draw a vertical line in the code editor.  This is very useful to remind developers that their full line of code or comments may not fit one a single screen. Thanks to this extension this feature has returned with UI configure it.  Simply place the cursor at the appropriate column and select Add Guideline from the context menu

Colorized Parameter Help
This extension improves consistency with the editor by applying syntax highlighting to the contents of the Parameter Help window for C# &VB.
Please note: Syntax highlighting colors can be customized using the display items prefixed with “Signature Help” in the “Fonts and Colors” menu.

Revision Notes

Known Issues