Click here to Skip to main content
13,553,555 members
Click here to Skip to main content
Add your own
alternative version

Tagged as


6 bookmarked
Posted 7 May 2010
Licenced CPOL

Tips & Tricks: Incremental Search in Visual Studio 2010

Rate this:
Please Sign up or sign in to vote.
Incremental search 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 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? Let us open our Visual Studio 2010 IDE and open a sample application. Let's 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 at 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 & moves the incremental search in the forward direction
  • (Ctrl + Shift + I) => Starts & moves the incremental search in the backward direction
  • (ESC) => Stops the incremental search


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


About the Author

Kunal Chowdhury «IN»
Software Developer (Senior)
India India
Kunal Chowdhury is a Microsoft "Windows Platform Development" MVP (Most Valuable Professional), a Codeproject Mentor, Telerik Developer Expert, Nokia Developer Champion, Windows 10 Champion, Microsoft Rockstar, 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 Store (WinRT) app development. He posts his findings, articles, tutorials in his technical blog and CodeProject.

Book authored:

Connect with me on:

My CodeProject Awards/Prizes:

You may also be interested in...

Comments and Discussions

Questionnice Pin
CIDev24-Apr-12 4:21
memberCIDev24-Apr-12 4:21 
GeneralVS2008 has done that for years... Pin
Luc Pattyn20-Aug-11 23:57
mvpLuc Pattyn20-Aug-11 23:57 
QuestionOld news... Pin
Axel Rietschin3-Jan-12 5:35
memberAxel Rietschin3-Jan-12 5:35 
AnswerRe: Old news... Pin
_ Kunal Chowdhury _3-Jan-12 6:52
mvp_ Kunal Chowdhury _3-Jan-12 6:52 
GeneralNice Trick! Pin
inetfly12312-May-10 2:41
memberinetfly12312-May-10 2:41 
GeneralRe: Nice Trick! Pin
KunalChowdhury12-May-10 7:04
mentorKunalChowdhury12-May-10 7:04 

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.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01-2016 | 2.8.180515.1 | Last Updated 8 May 2010
Article Copyright 2010 by Kunal Chowdhury «IN»
Everything else Copyright © CodeProject, 1999-2018
Layout: fixed | fluid