Incremental Search in Visual Studio 2010


Here I will describe about the all new Incremental Search feature in Visual Studio 2010.

You all know that Visual Studio 2010 is now available in its RTM version. There are lots of features available in Visual Studio 2010. In this tip, I will talk about the incremental search functionality available inside it, which is very useful in day to day life of coding.

So, what is the incremental search? Incremental search is a mechanism in Visual Studio 2010 by which you can search and focus on the searched keyword without any UI blocking from the user end. You don't have to open the find dialog while searching for a specific keyword in your editor window. Interested to know how it works?



Incremental Search in Visual Studio 2010:
Let us open our Visual Studio 2010 IDE and open a sample application. Lets say in your application you have several "Customer" words and you want to find those.

First go with the old way by opening the Find pane to search. Press Ctrl + F. This will open up the Find dialog pane. Enter your search keyword to search. Thus you can find your word but as this opens the find pane, the editor window blocks by some UI. Have a look into the below figure:




Now let us go with the new way of finding keyword using the incremental search. Press Ctrl + I in your editor window. This will change your cursor to a find cursor. Now, once you start typing you will see that it actually starts finding the typed character just like the following figure:




Press Ctrl + I again to go to the next result. If you press Ctrl + Shift +I, this will search in the backward direction.




In this entire search you will notice that, it doesn't open up any extra UI in the screen, thus not blocking the editor window, which is really helpful while searching for some specific word.

Shortcuts for Incremental Search:

  • (Ctrl + I) => Starts and moves the incremental search forward direction
  • (Ctrl + Shift + I) => Starts and moves the incremental search backward direction
  • (ESC) => Stops the incremental search


Comments

Author: Mahesh Nagar21 Oct 2013 Member Level: Gold   Points : 0

Dear Kunal ,

thanks a lot its awesome and i like it . is it possible to perform this operation at solution level instead current document .

Author: Phagu Mahato27 Oct 2013 Member Level: Gold   Points : 7

You all recognize that Visual Studio 2010 is currently on the market in its RTM version. There are innumerable options on the market in Visual Studio 2010. during this tip,I will observe the progressive search practicality on the market within it, that is extremely helpful in day to day lifetime of committal to writing.

So, what's the progressive search? progressive search may be a mechanism in Visual Studio 2010 by that you'll search and specialize in the searched keyword with none UI block from the user finish. You don't got to open the realize dialog whereas sorting out a particular keyword in your editor window.

Interested to understand however it works? allow us to open our Visual Studio 2010 IDE and open a sample application. let's imagine in your application you have got many "Customer" words and you wish to seek out those.

First go along with the previous method by gap the realize pane to look. Press Ctrl + F. this can open up the realize dialog pane. Enter your search keyword to look. therefore you'll realize your word however as this opens the realize pane, the editor window blocks by some UI.



  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:
    Email: