About Bookmarks
Eclipse editors allow you to place a book mark on any line within the editor. You can use bookmarks to serve as reminders and quickly navigate to any line in a file.
Adding a Bookmark
To set a bookmark, right-click on the vertical ruler near the line on which you want the bookmark and select
Add Bookmark. In the Add Bookmark dialog box enter a name for the Bookmark.
![Add Bookmark](https://www.tutorialspoint.com/eclipse/images/bookmarks_1.jpg)
A bookmark icon appears in the vertical ruler. Also, a row is added to the table in the Bookmarks view.
![Bookmark View](https://www.tutorialspoint.com/eclipse/images/bookmarks_2.jpg)
Opening the Bookmarks View
To open the Bookmarks view −
- Click on the Window menu and select Show View → Other.
- In the filter text box enter Bookmark.
- Under General, select Bookmarks.
![Show View](https://www.tutorialspoint.com/eclipse/images/bookmarks_3.jpg)
- Click on OK.
Using the Bookmarks View
The Bookmarks view shows bookmarks placed in resources across the workspace.
![Bookmark View Workspace](https://www.tutorialspoint.com/eclipse/images/bookmarks_4.jpg)
Using the Bookmarks view you can navigate to a bookmark by double clicking on a bookmark or right clicking on a bookmark and selecting "Go to" menu item.
No comments:
Post a Comment