DekGenius.com
Previous Section  < Day Day Up >  Next Section

Recipe 2.15 Creating a Bookmark

2.15.1 Problem

You want to come back to a location in a file at a later time.

2.15.2 Solution

Create a bookmark by right-clicking the marker bar in an editor and specifying a name for the bookmark in the New Bookmark dialog.

2.15.3 Discussion

You're editing code, and suddenly it's quitting time. How can you save your place? Create a bookmark, and come back to it later by double-clicking that bookmark in the Bookmarks view. You create the bookmark by right-clicking the marker bar and naming the bookmark in the New Bookmark dialog. The bookmark will appear in the marker bar, as shown in Figure 2-14.

Figure 2-14. Using a bookmark
figs/ecb_0214.gif


When you want to come back to the bookmarked location later, just open the Bookmarks view by selecting Window Show View Other Basics Bookmarks. You can see the bookmark we created in the Bookmarks view at the bottom of Figure 2-14; double-clicking it opens the bookmarked line in an editor.

As you'd expect, bookmarks work even if the file with the bookmark is closed; when you double-click the bookmark, that file opens automatically.

    Previous Section  < Day Day Up >  Next Section