Click here to Skip to main content
Click here to Skip to main content
Go to top

"Quick Find" a better way using Visual Studio Productivity Power Tools

, 25 Feb 2011
Rate this:
Please Sign up or sign in to vote.
"Quick Find" a better way using Visual Studio Productivity Power Tools

You might know about the Visual Studio 2010 Productivity Power Tools extension, which has several features on top of the Visual Studio's default IDE features. Recently, they released the new version which has some other benefits over the previous versions.

In this post, I am going to discuss on the Quick Find feature of the new Productivity Power Tools. Read the full post to know more about it.

Download

If you didn't install the Productivity Power Tools for Visual Studio 2010 or if you want to update your existing extension, you can download the latest version from here:

If you are using Visual Studio 2010 SP1 and have the previous version already installed, first uninstall the previous version prior to update it.

Alternatively, you can download it from the Visual Studio Extension Manager.

Default Find Dialog

Let us start discussing on our main topic, i.e., the "Quick Find" feature of the new Productivity Power Tools. Before jumping into the details, let us first discuss on the default Visual Studio search dialog. There are plenty of options available inside Visual Studio. Among them, the Find and Replace dialog is most popular. If you press CTRL + F, it will open up the below dialog:

image

You can easily type there and search for the text. Right? So, what is the problem then? If you open the find dialog, it will come up on the screen and take a huge amount of space by hiding the actual editor text where the search is going to happen. When you press "Find Next", sometimes it becomes more annoying to drag the dialog in a different location to find the string.

You can easily overcome this situation by pressing Escape to hide the dialog after the first search and pressing F3 to locate the next string.

image

It actually blocks the UI, right? Now the new productivity power tools have a different search dialog which will overcome this issue. Let's talk about it now.

Quick Find Dialog

If you have already installed the latest version of Visual Studio Productivity Power Tools, press the key combination CTRL + F. You will find a small popup dialog at the top right corner of the editor window. Here you can see the screenshot:

image

If you start typing inside the search box, you will notice that the search starts immediately in the editor window and all the strings matched with the entered string will get highlighted with a yellow mark.

image

If it finds a full match, it will show all the matching strings highlighted (as shown below):

image

You can easily customize the search by clicking the arrow head just beside the search box. It will open a dropdown where you can set the search settings.

image

Clicking on the "Advanced Options..." will popup the original Find dialog into the screen.

image

There, you can actually customize it more to search in Current Document, All Opened Document, Current Project or Entire Solution.

Issue Finding the new Quick Find?

There might be three reasons, if you don't find the "Quick Find" dialog inside the Visual Studio IDE and those will be:

  1. You didn't install the Productivity Power Tools for Visual Studio 2010 IDE
  2. You don't have the latest version of the Extension
  3. The "Quick Find" option is not enabled inside your Visual Studio 2010 IDE

For the first two reasons, download and install/upgrade the extension from the above mentioned URL. If you already installed the latest version and are still facing the same issue, the option might not be enabled inside the IDE settings.

In the third case, go to Tools -> Options (as shown below):

image

This will open up the Options dialog. From the left pane, select the "Productivity Power Tools" as shown in the below screenshot. In the right side, you will see a bunch of options available. Find out the "Quick Find" option. In this case, you will see it as "OFF", means this option is disabled.

image

To enable it, click on the toggle button "OFF", it will become "ON". Click "OK" to continue. This will re-enable the "Quick Find" dialog.

image

You must need to restart the Visual Studio for the changes to take effect. After restart, try pressing CTRL + F, you will see the new Quick Find dialog in the screen.

Similarly, if you want to do Find and Replace, you can see it here too. Press CTRL + H to open up the Quick Find dialog which has the replace box too. Have a look into the below snapshot:

image

Hope this information will help you to do your daily find and replace operation in a new way and minimize the effort with a proper way of search. You can find all of my posts on Productivity Power Tools at http://www.kunal-chowdhury.com/search/label/ProductivityPowerTools.

Happy coding... Thumbs up

License

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

Share

About the Author

_ Kunal Chowdhury _
Technical Lead
India India
Kunal Chowdhury is a Microsoft "Client Development" MVP (Most Valuable Professional), a Codeproject Mentor, Telerik MVP, Nokia Developer Champion, Speaker in various Microsoft events, Author, passionate Blogger and a Software Engineer by profession.
 
He is currently working in an MNC located in India. He has a very good skill over XAML, C#, Silverlight, Windows Phone, WPF and Windows 8 (WinRT). He posts his findings, articles in his technical blog and CodeProject.
 
Technical Blog: http://www.kunal-chowdhury.com
Facebook: http://facebook.com/blog.kunal
Twitter : http://twitter.com/kunal2383
Follow on   Twitter   Google+   LinkedIn

Comments and Discussions

 
QuestionCtrl+Up/Down PinmemberNigel Stratton28-Feb-12 9:00 
GeneralDoesn't Find out of page [modified] PinmemberYshay3-Mar-11 3:26 
AnswerRe: Doesn't Find out of page PinmvpKunal_Chowdhury3-Mar-11 4:12 
GeneralMy vote of 4 PinmemberDavidSherwood2-Mar-11 11:51 
GeneralRe: My vote of 4 PinmvpKunal_Chowdhury2-Mar-11 15:07 
GeneralMy vote of 5 PinmemberGastonV28-Feb-11 20:03 
GeneralRe: My vote of 5 PinmvpKunal_Chowdhury2-Mar-11 6:31 
GeneralMy vote of 5 PinmemberAnil_Saran28-Feb-11 18:22 
GeneralRe: My vote of 5 PinmvpKunal_Chowdhury2-Mar-11 6:31 
GeneralMy Vote of 5 PinmemberRaviRanjankr27-Feb-11 16:53 
GeneralRe: My Vote of 5 PinmvpKunal_Chowdhury28-Feb-11 0:05 
GeneralMy vote of 5 PinmvpAbhishek Sur26-Feb-11 7:11 
GeneralRe: My vote of 5 PinmvpKunal_Chowdhury28-Feb-11 0:05 
GeneralMy vote of 5 PinmvpBrij25-Feb-11 22:49 
GeneralRe: My vote of 5 PinmvpKunal_Chowdhury28-Feb-11 0:04 

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

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

| Advertise | Privacy | Mobile
Web02 | 2.8.140926.1 | Last Updated 26 Feb 2011
Article Copyright 2011 by _ Kunal Chowdhury _
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid