blob: 8f9531993ef41325dfc40d34d76ec82e10597cbc [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, 2011. 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>Finding a resource quickly</title>
<script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js" type="text/javascript"> </script>
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1 CLASS="Head">Finding a resource quickly</H1>
<P>To navigate to a particular resource in a view such as the Project Explorer view:
</P>
<ol>
<li>From <b>Navigate</b> menu, select <b>Go To &gt; Resource</b>.</li>
<li>In the window that opens, start typing the name of the
resource in the <b>Pattern</b> field. As you type the file name, the system
offers a list of possible matches, based on what you have entered so far.</li>
<li>Select the resource that you want from the <b>Matching
Items</b> list, and click <b>OK</b>.</li>
</ol>
<p>The view displays the selected resource.</p>
<p>
If you want to open a particular resource in an editor rather than select
it in a view, you can use the
<a class="command-link" href='javascript:executeCommand("org.eclipse.ui.navigate.openResource")'>
<img src="PLUGINS_ROOT/org.eclipse.help/command_link.svg" alt="command link">
<b>Navigate &gt; Open Resource</b></a> action.
This action presents the same dialog as the <b>Go To &gt; Resource</b> action,
but immediately opens the matching resource for editing.
</p>
<p>You can also do a contextual search for character strings contained within
files in the Workbench. See the links to related tasks below. </p>
<p><img border="0" src="../images/ngrelc.png" alt="Related concepts" ><br>
<a href="../concepts/concepts-12.htm">Resources</a><br>
<a href="../concepts/concepts-17.htm">Resource hierarchies</a><br>
<a href="../concepts/cnav.htm">Project Explorer view</a>
</p>
<p><img border="0" src="../images/ngrelt.png" alt="Related tasks" ><br>
<a href="tasks-84.htm">Searching for text within a file</a><br>
<a href="tasks-48b.htm">Showing or hiding files in the Project Explorer view</a>
</p>
<p><img border="0" src="../images/ngrelr.png" alt="Related reference" ><br>
<a href="../reference/ref-dialog-open-resource.htm">Open Resource dialog</a>
</p>
</BODY>
</HTML>