Find in Projects Dialog Box

The Find in Projects dialog box allows you to search for specific words or expressions in your project. You can access this dialog box by clicking Find and Replace on the Edit menu, and then clicking Current Project in the Look in drop-down list.

  • Find what
    Enter the text to search for. You can repeat a search by choosing it from the list, which displays the last 16 items entered.

  • Use
    When this check box is selected, you can choose whether to use either Regular Expressions (Visual Studio) or Wildcards (Visual Studio) in your search by selecting one from the list. When you make a selection, the button to the right of the Find what text box is enabled, and you can click it to choose from a list of regular expression or wildcard substitutions. If the Use check box is not selected, this button is grayed out.

  • Match case
    When this check box is selected, the search is case-sensitive, and displays only results that match the uppercasing, lowercasing, and all other characters of your search term.

  • Match whole word
    When this check box is selected, the search displays only matches that are entire words, as opposed to strings contained within longer words.

  • Look in
    This list allows you to define the scope of your search. Select Current Project to search only the currently active project, Current Document to search only the currently active window, Selection to search highlighted selection, All Open Documents to look through all open items, or All Searchable Items to look through all items.

  • Display in find
    This check box allows you to select the results window in which the search results are displayed, since it is possible to open multiple results windows.

  • Replace
    This switches you to the Find and Replace window.

See Also

Tasks

How to: Search Interactively

How to: Search Using Results Lists

Other Resources

Finding and Replacing