The editor of IntelliJ IDEA provides two types of bookmarks:
-
Anonymous bookmarks, indicated by check signs
in the left gutter. The number of anonymous bookmarks is unlimited. -
Bookmarks with mnemonics indicated by
or
icons in the left gutter. There can be only 10 numbered and 26 lettered bookmarks within a project.
All bookmarks are indicated with the black streaks in the marker bar:

Once created, the bookmarks enable you to easily jump to the desired location within a file, or across the entire project.
- On the main menu, choose . The order of visiting bookmarks depends on their order in the collection of bookmarks in the Bookmarks dialog.
- Click the black streak in the marker bar.
- Use ^ Number where the <number> corresponds to the desired bookmark.
- On the main menu, choose , or press ⌘F3 or ⌘F3⇧F11 or ⇧F11⌘F3 or ⌘F3⌥ F2, ⌥F2 or ⌥F2⇧ F11, ⇧F11 or ⇧F11.
In the Bookmarks dialog, select the target bookmark, and press ⏎ or ⏎⏎ or ⏎⏎ or ⏎Enter, ⏎ or ⏎Enter, ^ M, ⏎, ⌃M, ⏎ or ⌃M.
For your convenience, the target code preview is shown in the right pane of the dialog box.
- In the Favorites tool window, select the desired bookmark in the Bookmarks list, and then double-click the bookmark entry, or press ⌘↓, F4, ⌘↓ or F4F4 or F4F3 or F3F4, F4 or F4F4, F4 or F4. The corresponding file opens in the editor, with the caret at the beginning of the bookmarked line.