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


Multi-File Search Options

You can use the Find in Files window to find and replace text across multiple files using several multi-file search options. For example, you can instruct the IDE to search only in particular folders or projects. For more information, see "Finding and Replacing Text in Multiple Files".

Table 6.2 describes the tabs on the Find in Files window that contain multi-file search options.

Find in Files Window Tabs:

This tab
Contains options for searching these items
In Folders  
files residing in particular folders (directories)  
In Projects  
files residing in particular projects  
In Symbolics  
files for which the IDE generates and catalogs debugging information in a symbolics file  
In Files  
sets of multiple files  

This section contains the following topics:


In Folders Options

Table 6.3 describes the multi-file search options on the In Folders tab.

In Folders Multi-file Search Options:

Option
Description
Search in  

Use this field to specify the path to the folder containing the files to search.

Clicking the Browse button or Choose button opens a dialog box where you can choose the folder to search. Alternatively, you can use the pop-up menu to enter path information from recent successful folder searches.

Search sub-folders  

Enable this checkbox to search folders nested within the folder whose path appears in the Search in field. Disable the checkbox to ignore the nested folders.

By type  

Use this pop-up menu to choose a group of files to search.

Each group includes a list of file-name extensions. The IDE searches the contents of files with matching file-name extensions only.

The By type field on the Windows-hosted IDE also performs the function of the Ends with field.

Ends with  

Use this field to enter a list of file-name extensions, separated by a commas, to consider during the search. The IDE searches only the contents of files whose extensions appear in this field.

The IDE remembers recent lists and displays them at the bottom of the By type pop-up menu.

The Ends with field also shows the list of file-name extensions associated with each group in the By type pop-up menu.


In Projects Options

Table 6.4 describes the multi-file search options on the In Projects tab.

In Projects Multi-file Search Options:

Option
Description
Project  

Use this pop-up menu to specify the projects to search. Choose All Projects to search all open projects, or choose a project name to search only the files in that project.

Target  

Use this pop-up menu to specify the build targets to search for the projects that you specified in the Project pop-up menu, as follows:

Project sources  

Enable this checkbox to search source-code files belonging to the projects that you specified in the Project pop-up menu. Disable the checkbox to disregard all source-code files during the search.

The file list at the bottom of the In Projects tab shows the files to be searched. You can select and delete individual files from this list.

Project headers  

Enable this checkbox to search header and interface files belonging to the projects shown in the Project pop-up menu. Disable the checkbox to disregard all project header and interface files during the search.

Project headers refer to header and interface files included by the project's source-code files via the #include filename directive.

The file list at the bottom of the In Projects tab shows the files to be searched. You can select and delete individual files from this list.

System headers  

Enable this checkbox to search system header and interface files belonging to the projects shown in the Project pop-up menu. Disable the checkbox to disregard all system header and interface files during the search.

System headers refer to header and interface files included by the project's source-code files via the #include <filename> directive.

The file list at the bottom of the In Projects tab shows the files to be searched. You can select and delete individual files from this list.

Search cached
sub-targets
 

Enable this checkbox to search cached sub-targets of the projects shown in the Project pop-up menu. The search criteria that you define for the projects also applies to the cached sub-targets. Disable the checkbox to disregard the cached sub-targets during the search.

In this case, a cached sub-target has the following characteristics:


Symbolics

The In Symbolics tab contains the Symbolics pop-up menu.

Use this pop-up menu to search files for which the IDE generates and catalogs debugging information in a symbolics file. Choose All Symbolics to search all open files, or choose a build-target name to search only in the files of that build target.

The file list at the bottom of the In Symbolics tab shows the files to search. You can select and delete individual files from this list.


File Set

The In Files tab contains the File Set pop-up menu.

Use this pop-up menu to specify sets of files to search, as follows:

You can perform the following tasks with custom file sets:

  • Add files to the file set
  • Clear the current file listing from the file set
  • Save the file set for later use
  • Remove the file set
  • The field at the bottom of the In Files tab lists the files to be searched. When using custom file sets, you can drag and drop appropriate files and folders into the field.


    [ 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