[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]


In Files

The In Files tab, shown in Figure 6.7, allows you to specify custom file sets to search. This section describes how to use the options in the tab. For brief descriptions of each option in the tab, as well as other options, see "Find Options".

To specify custom file sets to search, follow these steps:

1. Choose from the File Set pop-up menu the file set to search.

By default, you can search Open Editor Files in the IDE. To specify your own list of files, known as a file set, choose New File Set from the pop-up menu. The list at the bottom of the In Files tab shows the active file set.

In Files Tab of Find In Files Window:

2. Click Add Files to add files to the active file set.

A standard dialog box opens. Use the dialog box to choose the file to add to the active file set. Repeat this step for each file that you wish to add.


TIP

Another way to add files to the active file set is to drag and drop them into the list at the bottom of the In Files tab. You can also drag and drop folders that contain the files. The IDE adds files with recognized file-name extensions to the active file set.

3. Edit the active file set as desired.

You can select and Delete or Clear files from the active file set. You can also click Clear List to remove all files from the active file set.

4. If desired, click Save This Set to save the active file set.

A dialog box appears and prompts you for a name. After saving the file set, you can choose its name from the File Set pop-up menu.

5. If desired, click Remove A Set to remove file sets that you no longer use.

A dialog box appears and prompts you to select file sets to remove. To delete a file set, select its name and click Remove. Click Done after you finish removing file sets. Click Cancel to close the dialog box and leave the file sets intact.

6. Click the Find, Find All, Replace, or Replace All button to perform the desired find or find-and-replace operation.

The IDE searches the files listed in the tab for the first occurrence of text that matches the search criteria.

To continue the search in the next file, choose Search > Find In Next File. To continue the search in the previous file, choose Search > Find In Previous File.


NOTE

(Windows) The IDE disables the Find In Previous File menu command by default. See "Customizing Commands" to learn how to enable the menu command.

For multi-file search operations, a Search Results window appears and shows the search status. You can view individual matches and stop a search in progress. For more information, see "Search Results."

To cancel the find or find-and-replace operation, close the Find in Files window.


[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.

Last updated: August 17, 2000