Did you know… The power of incremental searching


I didn’t know about incremental searching until someone showed me. This is a really powerful searching tool for the current document.

To use

1. Press Ctrl+I (or whatever Edit.IncrementalSearch is bound to)

2. Start typing the text you’re searching for (note: at this point, you’ll see the cursor jump to the next match, highlighting the current search string)

3. If you want to move to the next occurrence of the search string, press Ctrl-I again

4. If you want to search backward, press Ctrl-Shift-I

5. To exit, press ESC

Happy Editing!

Comments (11)
  1. Mike Dunn says:

    Ctrl+I rocks but in VC 7.1 there’s a usability problem with it – Ctrl+I can be case-sensitive but that fact isn’t indicated anywhere in the UI. (In VC 6 it was indicated in the status bar and you could toggle it with Ctrl+C)

    I hope you plan on mentioning Ctrl+F3, which is another nice quick-search command. 🙂

  2. Bjoern Graf says:

    Nope, I didn’t know that. Nice tip, thanks :]

  3. saraford says:

    Mike: Yep, there used to be that ability, but i believe it was removed in either 7.0 or 7.1. You should feel free to log a MSDN Product Feedback bug or suggestion about it, especially since it is a usability issue for you.

    Oh, and thanks for next week’s tip =)

    thanks,

    -sara

  4. Jeff Atwood says:

    As Chris Sells once said, CTRL+I is ‘pure sex’!

    This probably goes without saying, but programmers don’t get out much.

  5. al havrilla says:

    thanks .. didn’t know about Ctrl-I .. its handy

  6. Yanni Talyor says:

    Now only if it would work like the Firefox search feature.

  7. Daniel Moth says:

    Blog link of the week 11

  8. montaque says:

    Great. useful tip

  9. Subrahmanyam K says:

    Nice feature!!

    Thanks

  10. Simon Perkins says:

    Being a long time emacs user I couldn’t live without some form of incremental search.

    FWIW, the case sensitivity of the incremental search is determined by the "Match Case" checkbox in the full "Find" dialog. It would certainly be nice to have some way to change it on the fly though…

Comments are closed.

Skip to main content