Version 1.3
Eclipse provides a bookmarks feature out of the box which allows bookmarks to be placed in source code and text files and stored together with the project. However, usage of these bookmarks is tedious as creating a new bookmark requires the user to enter a label and direct navigation between bookmarks via keyboard shortcuts is not possible.
Quick Bookmarks extends the standard bookmarks by providing actions and shortcuts to quickly toggle a bookmark in the current editor line and to jump to the previous and next bookmark from the current cursor position.
Quick bookmarks are a subtype of the standard bookmarks. Their display options can therefore be configured separately, yet they are still included in Eclipse's own bookmarks view.
A
Press
To navigate between bookmarks across files, use
To set the quickmark, press
A quickmark can be useful to mark a single location and jump back to it after searching for a specific piece of code. The quickmark is also included in regular bookmark navigations. Jumping to it in that way will not delete it.
The following features have been added to Quick Bookmarks since the initial release:
Additional commands can be used to navigate between bookmarks across
file borders, either within the current project or the entire workspace.
Workspace navigation is assigned to
By default, bookmarks in the Jump to Bookmark popup dialogue are ordered chronologically by their last use. A new context menu on the bookmarks list can be used to change the sorting order to order bookmarks by their project, file and position.
Holding down the shift key when selecting a bookmark in the popup dialogue (or using the dialogue's context menu) will jump to the file containing the bookmark without repositioning the cursor in the editor.
The Jump to Bookmark dialogue now has a third page which lists all workspace bookmarks.
Bookmarks store the type of the editor they were set in. Even if the default editor for a file type changes, bookmarks for that file will still open with the same editor they were created in.
Pressing
Quick Bookmarks requires Java 6 and Eclipse 4.2 (Juno) or higher.
To install Quick Bookmarks from the Update Site, select
http://eclipse.schedenig.name
You can now open the site in the list of available software, check
Quick Bookmarks and click
Quick Bookmarks provides the following actions:
Sets a new quick bookmark in the current editor line, or removes a bookmark if there already is one for this line. Deleting a bookmark also works if the bookmark is a standard Eclipse bookmark, but newly created bookmarks will always be quick bookmarks.
The default shortcut is
Jumps to the next bookmark in the current file, relative to the current cursor position. This includes both quick bookmarks and standard Eclipse bookmarks. If there are no bookmarks after the current position, the cursor is not moved.
The default shortcut is
Jumps to the previous bookmark in the current file, relative to the current cursor position. This includes both quick bookmarks and standard Eclipse bookmarks. If there are no bookmarks before the current position, the cursor is not moved.
The default shortcut is
Jumps to the next bookmark in the current project. Like
No default shortcut is assigned to this command.
Jumps to the previous bookmark in the current project. Like
No default shortcut is assigned to this command.
Jumps to the next bookmark in the current project. Like
The default shortcut is
Jumps to the previous bookmark in the current project. Like
The default shortcut is
Opens a dialogue listing recent bookmarks. See Jumping to Bookmarks.
The default shortcut is
Jumps to the current quickmark, deleting it. If no quickmark exists, sets it to the current locaiton.
The default shortcut is
Sets the quickmark at the current location or clears it if it is already set there.
The default shortcut is
The default keyboard shortcuts can be reconfigured using the
Aside from jumping directly to the previous or next bookmark in the current
editor using
By default, the dialogue lists the most recently used bookmarks in chronological order. Whenever you add a new bookmark or use this dialogue to jump to a bookmark, it is moved to the top of the list. The sorting order can be changed by opening the context menu of the list (e.g. via right clicking), where you can switch between the default chronological order and sorting the bookmarks by their project, file and position in the file.
The dialogue lists either all bookmarks from the current project, all
bookmarks from the current workspace, or the most recent bookmarks from your
current Eclipse session. The title bar shows
which set of bookmarks is current displayed, and the
The
A bookmark can be selected by pressing the return key or by double clicking. If the shift key is pressed when selecting a bookmark, the editor will jump to the file containing the bookmark without repositioning the cursor (i.e. without jumping to the bookmark itself, instead retaining the previous cursor position in case the file had already been opened). Both actions are also available from the context menu.
Quick bookmarks are shown in the vertical ruler (to the left of the editor's
text area) and the overview ruler (to the right) by default. The icon shown
in the vertical ruler is similar to that of the standard bookmarks, but in
green: . In the overview ruler, the colour
used to draw the marker is the same as that for standard bookmarks.
Quickmark use a similar icon in yellow, with yellow markers in the overview
ruler:
.
The
The default display settings for quick bookmarks and quickmarks can be
changed in Eclipse's annotation preferences, which can be found under
Quick Bookmarks websites:
Quick Bookmarks was written by Marian Schedenig. You can find my website here.
Quick Bookmarks is licensed under the terms of the Eclipse Public License v1.0.
Copyright © 2014 Marian Schedenig.