blob: 67f3f2d6cc4c140648923d80644deba6d201b8df [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>Creating a bookmark within a file</title>
<script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js" type="text/javascript"> </script>
</HEAD>
<BODY BGCOLOR="#ffffff">
<a NAME="elementId-1001031"></a>
<a NAME="pgfId-1001036"></a>
<h1>Creating a bookmark within a file</h1>
<p>The Workbench allows you to create bookmarks in files that you
edit so that you can quickly reopen those files from the Bookmarks view
(<a class="command-link" href='javascript:executeCommand("org.eclipse.ui.views.showView(org.eclipse.ui.views.showView.viewId=org.eclipse.ui.views.BookmarkView)")'>
<img src="PLUGINS_ROOT/org.eclipse.help/command_link.png" alt="command link">
<b>Window &gt; Show View &gt; Other... &gt; General &gt; Bookmarks</b></a>).
</p>
<ol>
<li>With the file open in an editor, right-click in the gray border at the left
of the editor area, next to the line of code or text that you want to bookmark.</li>
<li>Select <b>Add Bookmark </b>from the pop-up menu.</li>
<li>Notice that an icon for the bookmark now appears in the left
border of the editor area. A line is also added to the Bookmarks view.)</li>
</ol>
<p CLASS="Head">You can reopen the file for editing at any time by double-clicking
the bookmark in the Bookmarks view. </p>
<p><img border="0" src="../images/ngrelc.png" alt="Related concepts" ><br>
<a href="../concepts/cbookmrk.htm">Bookmarks</a><br>
<a href="../concepts/ctskview.htm">Tasks view</a>
</p>
<p><img border="0" src="../images/ngrelt.png" alt="Related tasks" ><br>
<a href="tasks-81b.htm">Creating a bookmark for an entire file</a><br>
<a href="tasks-82.htm">Deleting a Bookmark</a><br>
<a href="tasks-77.htm">Adding line items in the Tasks view</a><br>
<a href="tasks-77b.htm">Associating a task with a resource</a>
</p>
</BODY>
</HTML>