blob: fdad3e7429b4328759022fd9b36605738a461fa0 [file]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<link rel="STYLESHEET" href="../book.css" charset="ISO-8859-1" type="text/css">
<title>Searching for files</title>
</head>
<body>
<h1>Searching for files</h1>
<p>The <b>Go To &gt; Resource</b> action in the <b>Navigate</b> menu
allows you to quickly find a resource in the Workbench by searching resource <i>names</i>.
</p>
<p>You can also do more complex searches for files in the Workbench. For example,
to find all files that end with .xml:
</p>
<ol>
<li>On the main toolbar, click the <b> Search</b> button <img src="../images/Image50_search.gif" alt="Search icon" border="0" width="26" height="22">.</li>
<li>Type <code>.xml</code> into the <b>File name patterns</b> field and leave
the <b>Containing text</b> field empty. <br>
(You can use the pull-down list to select <code>.xml</code> if it had been previously entered.)</li>
<li>Finish entering your search options, for example to scope the search to
specified working sets, and click <b>Search</b>.</li>
<li>The Search view displays the results of your search. Right-click on any
item in the Search view to open a pop-up menu that allows you to remove items
from the list, copy search results to the clipboard, or rerun the search.
To open one of the listed files, double-click it or select <b>Go to File</b>
from its pop-up menu.</li>
</ol>
<p>
If you close the Search view, you can return to it later by selecting <b>Window
&gt; Show View &gt; Other &gt; Basic &gt; Search</b>.</p>
<p><img border="0" src="../images/ngrelc.gif" alt="Related concepts" width="159" height="27"><br>
<a href="../concepts/csearchview.htm">Search view</a>
<a href="../concepts/cworkset.htm"><br>Working sets</a>
</p>
<p><img border="0" src="../images/ngrelt.gif" alt="Related tasks" width="159" height="27"><br>
<a href="tasks-84.htm">Searching for text within a file</a>
</p>
<p><img border="0" src="../images/ngrelr.gif" alt="Related reference" width="159" height="27"><br>
<a href="../reference/ref-26.htm">Search view</a><br>
<a href="../reference/ref-45.htm">File search</a><br>
</p>
<p><br>
<a href="../hglegal2003.htm"><img src="../images/ngibmcpy2003.gif" alt="Copyright IBM Corporation and others 2000, 2003" border="0" width="324" height="14"></a>
</p>
</body>
</html>