Find in Files Dialog

The Find in Files dialog allows the user to search for a particular pattern across multiple files. The results of the Find in Files dialog are displayed in the Find in Files results panel.

 

The following figure shows the Find in Files dialog:

 

       

 

Accessibility:  From the File Search menu item in the Edit menu.

 

Description of Components

The components of the Find in Files tab include the main dialog and the individual search location tabs: Files, Project, and Favorites. They are described in greater detail below:

Main Dialog

Component

Description

Search Locations

Files Tab

The Files tab allows the user to search for a particular string among files located on the local disk or on a network mount. The tab contains controls designed to allow the user to browse drive locations. Refer to the Files tab section below for more information

Project Tab

The Project tab allows the user to search for a particular string within the set of files contained in the active project. The search begins from the specified project directory and may include project sub-directories. Only files within the current project can be searched using this option. Refer to the Project tab section below for more information.

Favorites Tab

The Favorites tab allows the user to search for a particular string among the list of favorite files. Only files in the favorites list may be searched with this option. Refer to the Favorites tab section below for more information.

Search Options

Search String

The Search String edit box allows the user to specify a string to search for across multiple files in one of:

  • favorites list,

  • current project,

  • file system

These search options are mutually exclusive.

Search Options

Allows the user to control the search options but allowing:

  • Ignore case - The ability to ignore case when performing a match.

  • Whole word - Match only on Whole Word boundaries.

  • Skip binary files - Binary files are not searched to increase search time.

  • Use thread - The search is performed in the background instead of the foreground allowing to user to continue working while a search progresses.

Results

 

The Results field is a drop-down control that allows the user to choose which result set to store the results of the query within. HDL Workshop allows the user to save the results of up to ten queries during the current session.

Search Button

The Search button initiates the Find in Files operation.

Cancel Button

The Cancel button cancels the Find in Files operation and returns the user to the application.

 

Files Tab

The Files tab shown below is used to search across files located on the hard disk or on a network drive.

 

     

 

The components of the Files tab are described in the following table:

 

Component

Description

Files Tab Controls

File panel paths

Allows the user to select the configured paths within the main file browser as the search location for the find in files operation.

File filter

Sets the filter used to define which files are searched.

Search path

Allows the user to select the search path from which files will be searched. This may be used in combination with the file panel paths combo-box described above.

Browse button

The Browse button allows the user to browse the disk for the search location for the operation. Clicking the button displays a directory chooser dialog.

Directory navigator

The directory navigator allows the user to walk the currently selected drive in order to chose the location for the find in files operation.

Search sub-directories

If this checkbox is checked then sub-directories will be searched in addition to the currently selected directory.

 

 

Project Tab

The Project tab shown below is used to search for files within the current project. It allows the user to search for a particular string within the set of files contained in the active project. The search begins from the specified project directory and may include project sub-directories. Only files within the current project can be searched using this option.

 

     

 

The components of the Project tab are described in the following table:

 

Component

Description

Project Tab Controls

File filter

Sets the filter used to restrict which files are searched.

Search path

Allows the user to select the project search path from which files will be searched.

Project directory navigator

The directory navigator allows the user to walk the project directory list in order to chose the location where the find in files operation will begin.

Search sub-directories

If this checkbox is checked then project sub-directories will be searched in addition to the currently selected directory.

 

Favorites Tab

The Favorites tab shown below is used to search across files stored in the favorites folder. Only files in the favorites folder or list may be searched with this option.

     

 

The components of the Favorites tab are described in the following table:

 

Component

Description

Favorites Tab Controls

File filter

Sets the filter used to define which files are searched.