blob: 358f4b41e7514d396af519a0d8526fe0f200848e [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html lang="en"><head>
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2012. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
<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>File search</title></head>
<body>
<h1>File search</h1>
<p>
In the Search Dialog, the File Search tab allows you to search for files or text in the Workbench.
You can bring up the Search Dialog by clicking on the Search toolbar button.</p>
<p>
<img src="../images/Image45_file_search.png" alt="File search dialog" border="0"></p>
<h2>Containing text</h2>
<p>Type the expression for which you wish to do the text search. Leave this field empty to search for files.&nbsp;</p>
<p>From the drop-down menu, you can choose to repeat or
modify a recent search.</p>
<h3>Wildcards</h3>
<p>The available wildcards for search expressions are displayed in the search dialog:</p>
<ul>
<li>"*" matches any set of characters, including the empty string</li>
<li>"?" matches for any character</li>
<li> "\" is the escape for a literal; if you want to search for an asterisk, question mark, or backslash character, type a backslash before it to indicate that you are not using these characters as wildcards (e.g., "\*", "\?", or "\\")</li>
</ul>
<h2>File name patterns</h2>
<p>In this field, enter all the file name patterns for the files to find or search
through for the specified expression.<br>
</p>
<h3>Wildcards</h3>
<p>The available wildcards for file name patterns are displayed in the search dialog:</p>
<ul>
<li>"*" matches any set of characters, including the empty string</li>
<li>"?" matches for any character</li>
<li>"!" excludes the given file name pattern, e.g. "!*.html or !plugin.xml</li>
</ul>
<h2>Case sensitive</h2>
<p>Turn this option on if you want the text search to be case sensitive.</p>
<h2>Regular expression</h2>
<p>Turn this option on to specify that the search text is a regular expression.</p>
<h2>Whole word</h2>
<p>Turn this option on if you want to search for whole words that are identical to the search text.</p>
<h2>Scope</h2>
<p>Choose the scope of your search. You can either search the whole workspace,
pre-defined working sets, previously selected resources or projects enclosing
the selected resources.</p>
<h1>Quick Text Search</h1>
<p>As an alternative to the Search Dialog and Search View, you can also use the <a href="../gettingStarted/qs-36c">Quick Text Search Dialog</a> to search for
textual matches in the workspace and quickly jump to them. It is described in detail <a href="../gettingStarted/qs-36c">here</a>.
</p>
<h3 class="related">Related concepts</h3>
<a href="../concepts/csearchview.htm">Search view</a><br>
<a href="../gettingStarted/qs-36c.htm">Quick Text Search Dialog</a><br>
<h3 class="related">Related tasks</h3>
<a href="../tasks/tasks-84b.htm">Searching for files</a><br>
<a href="../tasks/tasks-84.htm">Searching for text within a file</a>
<h3 class="related">Related reference</h3>
<a href="ref-26.htm">Search view</a>
</body>
</html>