Searching for parts
You can search for parts among the EGL projects in your workspace.
This search returns part definitions and references; it does not search your project for a text match to a string. For a textual search of your project, click .
To search for a list of available parts, follow
these steps:
- From the main menu, click . The Search window opens
to the EGL Search tab.
If you do not see , click and switch to the EGL Search tab.
- Type the criteria for the search
in the Search string field.
You can use the following wildcard symbols in your search:
- A question mark (?) represents any one character
- An asterisk (*) represents a series of any characters of any length
For example, type
Click the Case sensitive check box for a case-sensitive search.my?Partto locate parts named "my1Part" and "my2Part", but not "my10Part". Typemy*Partto locate parts named "my1Part", "my2Part", and "my10Part". - In the Search For section, select the type of part you are searching for, or select Any element to expand your search to all part types.
- In the Limit To section, select the option to limit your search to part declarations, part references, or any occurrence of the search string.
- In the Scope section,
select where to search:
- Workspace
- Searches the current workspace.
- Selected resources
- Searches the resources currently selected in the Project Explorer view or other view.
- Enclosing projects
- Searches the project or projects that contain the files selected in the Project Explorer view or other view.
- Working set
- Searches a set of projects, called a working set. Click Choose to select the working sets to search.
- Click Search. The results are displayed in the Search view.
- If you double-click a file in the Search view,
the file opens in the EGL
editor, and the matching part is highlighted. If there is more than
one match
in the file, the first match is highlighted.
Arrows in the left margin of the editor indicate the locations of each matching part.