Datasheet

94 PSoC Designer IDE Guide, Document # 001-42655 Rev *B
Code Editor
4.2.5 Searching Files
In addition to the standard Find/Replace feature in PSoC Designer, you can search for specific text
inside specific files. To search for text in any single file or combination of multiple files:
1. Click Edit > Find and Replace.
Figure 4-4. Find and Replace Dialog Box
2. In the Find what field of the Find in Files dialog box, type or click the drop-arrow to choose a pre-
viously searched word.
Search by standard grep (Global Regular Expression Print) methods. Grep searches the input
files for lines containing a match to a given pattern list. For options, see grep.pdf in the \Docu-
mentation\Supporting Documents subdirectory of the PSoC Designer installation direc-
tory.
3. In the In files/file types field, type or click the drop-arrow to choose a previously searched file or
file type. Separate multiple files by using a comma.
4. Select the folder or files from the Look In menu or select the button button, to search a dif-
ferent project directory than the directory of your current open project. When Look In is set to
Current Document or All Open Documents, the File Types Filter is ignored.
5. Click a check in the specifics: Match whole word, Match case, Search subdirectories, and Search
up, if desired.
6. When finished, click Find Next, Find In Files, or Mark All (to highlight all occurences of the
found text). Click Close to close the Find in Files dialog box.
7. The results of the Find In Files search is diplayed in the Output window. Double-click to open the
file. The cursor is placed at the beginning of the found text.
The Mark All and Replace All functions only work when Look In is set to Current Document or All
Open Documents. It will not mark or replace text in unopened documents.