# Bookmarks

> **TL;DR**
> Add bookmark: anonymous `F11` (Windows), `F3` (macOS), `F11` (IntelliJ IDEA Classic (macOS)), `⌃ ⇧ K` (macOS System Shortcuts), `F11` (XWin), `F11` (GNOME), `F11` (KDE), `F11` (Emacs), `Ctrl+F2` (Sublime Text), `⌘ F2` (Sublime Text (macOS)), `⌃ F3` (Xcode), `Ctrl+K, K` (Visual Studio), `⌘ K, K` (Visual Studio (macOS)), `F11` (ReSharper), `F11` (ReSharper (macOS)), `Ctrl+M` (QtCreator), `⌃ M` (QtCreator (macOS)), `F11` (NetBeans), `Ctrl+Shift+F11` (Eclipse), `F11` (Eclipse (macOS)), mnemonic `Ctrl+F11` (Windows), `⌥ F3` (macOS), `⌘ F11` (IntelliJ IDEA Classic (macOS)), `⌃ ⌥ ⇧ K` (macOS System Shortcuts), `Ctrl+F11` (XWin), `Ctrl+F11` (GNOME), `Ctrl+F11` (KDE), `Ctrl+F11` (Emacs), `Ctrl+F11` (Sublime Text), `⌥ F3` (Sublime Text (macOS)), `⌥ F3` (Xcode), `Ctrl+F11` (Visual Studio), `⌥ F3` (Visual Studio (macOS)), `Ctrl+F11` (ReSharper), `⌥ F3` (ReSharper (macOS)), `Ctrl+F11` (QtCreator), `⌥ F3` (QtCreator (macOS)), `Ctrl+F11` (NetBeans), `Ctrl+Alt+Shift+F11` (Eclipse), `⌥ F3` (Eclipse (macOS))
>
>
>
> View all bookmarks: `View | Tool Windows | Bookmarks` (`Alt+2` (Windows), `⌘ 2` (macOS), `⌘ 2` (IntelliJ IDEA Classic (macOS)), `⌘ 2` (macOS System Shortcuts), `Alt+2` (XWin), `Alt+2` (GNOME), `Alt+2` (KDE), `Alt+2` (Emacs), `Alt+2` (Sublime Text), `⌘ 2` (Sublime Text (macOS)), `Alt+2` (Xcode), `Alt+2` (Visual Studio), `⌘ 2` (Visual Studio (macOS)), `Alt+2` (ReSharper), `⌘ 2` (ReSharper (macOS)), `Alt+2` (QtCreator), `Alt+2` (QtCreator (macOS)), `Alt+2` (NetBeans), `Alt+2` (Eclipse), `Alt+2` (Eclipse (macOS)))

> **Note:**
> Bookmarks have replaced Favorites that existed in earlier versions of the IDE.

If you work with large projects, searching for files and folders can be time-consuming. For such cases, CLion features bookmarks. You can bookmark the necessary lines of code to be able to find them easier. You can also bookmark the project files and folders that you need more often than other project items.

![Bookmarks example](https://resources.jetbrains.com/help/img/idea/2026.2/cl_bookmarks_overview.png)

All your bookmarks are grouped in lists in the Bookmarks tool window that you can open by selecting `View | Tool Windows | Bookmarks` from the main menu or by pressing `Alt+2` (Windows), `⌘ 2` (macOS), `⌘ 2` (IntelliJ IDEA Classic (macOS)), `⌘ 2` (macOS System Shortcuts), `Alt+2` (XWin), `Alt+2` (GNOME), `Alt+2` (KDE), `Alt+2` (Emacs), `Alt+2` (Sublime Text), `⌘ 2` (Sublime Text (macOS)), `Alt+2` (Xcode), `Alt+2` (Visual Studio), `⌘ 2` (Visual Studio (macOS)), `Alt+2` (ReSharper), `⌘ 2` (ReSharper (macOS)), `Alt+2` (QtCreator), `Alt+2` (QtCreator (macOS)), `Alt+2` (NetBeans), `Alt+2` (Eclipse), `Alt+2` (Eclipse (macOS)). The tool window also shows all [breakpoints](using-breakpoints.html)  that are automatically added to the dedicated list once you place them in your code.

![Bookmarks tool window](https://resources.jetbrains.com/help/img/idea/2026.2/cl_bookmarks_tw.png)

CLion has two types of bookmarks:

* Anonymous bookmarks don't have an identifier and allow you to place as many bookmarks as you want. Files and lines marked with anonymous bookmarks have a bookmark icon.

* Mnemonic bookmarks allow you to create bookmarks with numbers (0 to 9) or letters (A to Z). Files and lines marked with mnemonic bookmarks have the corresponding letter or number icon in a frame.

## Add bookmarks

CLion adds your bookmarks to the predefined list in the Bookmarks tool window that is created automatically and has the same name as the project. You can [create more lists](#create-list) and [set another list as default](#change-default-list).

Procedure: Add an anonymous line bookmark

* In the editor, place the caret at a line of code and press `F11` (Windows), `F3` (macOS), `F11` (IntelliJ IDEA Classic (macOS)), `⌃ ⇧ K` (macOS System Shortcuts), `F11` (XWin), `F11` (GNOME), `F11` (KDE), `F11` (Emacs), `Ctrl+F2` (Sublime Text), `⌘ F2` (Sublime Text (macOS)), `⌃ F3` (Xcode), `Ctrl+K, K` (Visual Studio), `⌘ K, K` (Visual Studio (macOS)), `F11` (ReSharper), `F11` (ReSharper (macOS)), `Ctrl+M` (QtCreator), `⌃ M` (QtCreator (macOS)), `F11` (NetBeans), `Ctrl+Shift+F11` (Eclipse), `F11` (Eclipse (macOS)).

* Alternatively, right-click the gutter next to the line of code that you want to bookmark and select Add Bookmark.

A bookmark icon appears in the gutter next to the bookmarked line.

![Anonymous bookmark placed in the editor](https://resources.jetbrains.com/help/img/idea/2026.2/cl-anonymous-bookmark-added.png)

Procedure: Add a mnemonic line bookmark

1. In the editor, place the caret at a line of code and press `Ctrl+F11` (Windows), `⌥ F3` (macOS), `⌘ F11` (IntelliJ IDEA Classic (macOS)), `⌃ ⌥ ⇧ K` (macOS System Shortcuts), `Ctrl+F11` (XWin), `Ctrl+F11` (GNOME), `Ctrl+F11` (KDE), `Ctrl+F11` (Emacs), `Ctrl+F11` (Sublime Text), `⌥ F3` (Sublime Text (macOS)), `⌥ F3` (Xcode), `Ctrl+F11` (Visual Studio), `⌥ F3` (Visual Studio (macOS)), `Ctrl+F11` (ReSharper), `⌥ F3` (ReSharper (macOS)), `Ctrl+F11` (QtCreator), `⌥ F3` (QtCreator (macOS)), `Ctrl+F11` (NetBeans), `Ctrl+Alt+Shift+F11` (Eclipse), `⌥ F3` (Eclipse (macOS)).

Alternatively, right-click the gutter next to the line of code that you want to bookmark and select Add Mnemonic Bookmark.

2. In the popup that opens, select a number or a letter that you want to use as an identifier for this bookmark.

![Adding a mnemonic bookmark: select an identifier](https://resources.jetbrains.com/help/img/idea/2026.2/cl_add_mnemonic_bookmark_select_identifier.png)

If the selected mnemonic is already used, the IDE will ask you whether you want to overwrite an existing bookmark with the new one. Select the Don't ask again option to silently overwrite mnemonics.

3. Optionally, provide a description for the new bookmark.

4. Press `Enter` (Windows), `⏎` (macOS), `⏎` (IntelliJ IDEA Classic (macOS)), `⏎` (macOS System Shortcuts), `Enter` (XWin), `Enter` (GNOME), `Enter` (KDE), `Enter` (Emacs), `Enter` (Sublime Text), `⏎` (Sublime Text (macOS)), `⏎` (Xcode), `Enter` (Visual Studio), `⏎` (Visual Studio (macOS)), `Enter` (ReSharper), `⏎` (ReSharper (macOS)), `Enter` (QtCreator), `⏎` (QtCreator (macOS)), `Enter` (NetBeans), `Enter` (Eclipse), `⏎` (Eclipse (macOS)) or click the selected letter or number once again to save the bookmark.

A letter or a number bookmark icon appears in the gutter next to the bookmarked line.

![Mnemonic bookmark added in the gutter](https://resources.jetbrains.com/help/img/idea/2026.2/cl_mnemonic_bookmark_added.png)

> **Tip:**
> To take a look at all line bookmarks that you have in code, press `Shift+F11` (Windows), `⌘ F3` (macOS), `⇧ F11` (IntelliJ IDEA Classic (macOS)), `⌘ ⌃ K` (macOS System Shortcuts), `Shift+F11` (XWin), `Shift+F11` (GNOME), `Shift+F11` (KDE), `Shift+F11` (Emacs), `Shift+F11` (Sublime Text), `Shift+F11` (Sublime Text (macOS)), `⌘ F3` (Xcode), `Ctrl+`` (Visual Studio), `⌃ `` (Visual Studio (macOS)), `Ctrl+`` (ReSharper), `⌃ `` (ReSharper (macOS)), `Alt+M` (QtCreator), `⌃ ⌥ M` (QtCreator (macOS)), `Ctrl+Shift+M` (NetBeans), `Shift+F11` (Eclipse), `⌘ F3` (Eclipse (macOS)) or go to `Edit | Bookmarks | Show Line Bookmarks…` in the main menu.
>
>
>
> ![Line bookmarks popup](https://resources.jetbrains.com/help/img/idea/2026.2/cl_bookmarks_popup.png)

Procedure: Bookmark files and folders

1. In the   Project tool window  (`Alt+1` (Windows), `⌘ 1` (macOS), `⌘ 1` (IntelliJ IDEA Classic (macOS)), `⌘ 1` (macOS System Shortcuts), `Alt+1` (XWin), `Alt+1` (GNOME), `Alt+1` (KDE), `Alt+1` (Emacs), `Alt+1` (Sublime Text), `⌘ 1` (Sublime Text (macOS)), `⌘ 1` (Xcode), `Ctrl+Alt+L` (Visual Studio), `⌘ ⌥ L` (Visual Studio (macOS)), `Alt+1` (ReSharper), `⌘ 1` (ReSharper (macOS)), `Alt+X` (QtCreator), `⌃ X` (QtCreator (macOS)), `Ctrl+1` (NetBeans), `Alt+1` (Eclipse), `Alt+1` (Eclipse (macOS))) , right-click an item that you want to bookmark and select `Bookmarks | Add Bookmark` (`F11` (Windows), `F3` (macOS), `F11` (IntelliJ IDEA Classic (macOS)), `⌃ ⇧ K` (macOS System Shortcuts), `F11` (XWin), `F11` (GNOME), `F11` (KDE), `F11` (Emacs), `Ctrl+F2` (Sublime Text), `⌘ F2` (Sublime Text (macOS)), `⌃ F3` (Xcode), `Ctrl+K, K` (Visual Studio), `⌘ K, K` (Visual Studio (macOS)), `F11` (ReSharper), `F11` (ReSharper (macOS)), `Ctrl+M` (QtCreator), `⌃ M` (QtCreator (macOS)), `F11` (NetBeans), `Ctrl+Shift+F11` (Eclipse), `F11` (Eclipse (macOS))) or Add Mnemonic Bookmark (`Ctrl+F11` (Windows), `⌥ F3` (macOS), `⌘ F11` (IntelliJ IDEA Classic (macOS)), `⌃ ⌥ ⇧ K` (macOS System Shortcuts), `Ctrl+F11` (XWin), `Ctrl+F11` (GNOME), `Ctrl+F11` (KDE), `Ctrl+F11` (Emacs), `Ctrl+F11` (Sublime Text), `⌥ F3` (Sublime Text (macOS)), `⌥ F3` (Xcode), `Ctrl+F11` (Visual Studio), `⌥ F3` (Visual Studio (macOS)), `Ctrl+F11` (ReSharper), `⌥ F3` (ReSharper (macOS)), `Ctrl+F11` (QtCreator), `⌥ F3` (QtCreator (macOS)), `Ctrl+F11` (NetBeans), `Ctrl+Alt+Shift+F11` (Eclipse), `⌥ F3` (Eclipse (macOS))).

To bookmark multiple items, select them in the tool window, right-click one of them, and select `Bookmarks | Add Bookmarks` (`F11` (Windows), `F3` (macOS), `F11` (IntelliJ IDEA Classic (macOS)), `⌃ ⇧ K` (macOS System Shortcuts), `F11` (XWin), `F11` (GNOME), `F11` (KDE), `F11` (Emacs), `Ctrl+F2` (Sublime Text), `⌘ F2` (Sublime Text (macOS)), `⌃ F3` (Xcode), `Ctrl+K, K` (Visual Studio), `⌘ K, K` (Visual Studio (macOS)), `F11` (ReSharper), `F11` (ReSharper (macOS)), `Ctrl+M` (QtCreator), `⌃ M` (QtCreator (macOS)), `F11` (NetBeans), `Ctrl+Shift+F11` (Eclipse), `F11` (Eclipse (macOS))).

2. For mnemonic bookmarks, select a number or a letter that you want to use as an identifier for this bookmark.

Press `Enter` (Windows), `⏎` (macOS), `⏎` (IntelliJ IDEA Classic (macOS)), `⏎` (macOS System Shortcuts), `Enter` (XWin), `Enter` (GNOME), `Enter` (KDE), `Enter` (Emacs), `Enter` (Sublime Text), `⏎` (Sublime Text (macOS)), `⏎` (Xcode), `Enter` (Visual Studio), `⏎` (Visual Studio (macOS)), `Enter` (ReSharper), `⏎` (ReSharper (macOS)), `Enter` (QtCreator), `⏎` (QtCreator (macOS)), `Enter` (NetBeans), `Enter` (Eclipse), `⏎` (Eclipse (macOS)) or click the selected letter or number once again to save the bookmark.

Procedure: Bookmark an editor tab

You can bookmark files from editor tabs one by one. These bookmarks will be added to the [default list](#change-default-list).

1. Right-click the tab with the file that you want to bookmark and select `Bookmarks | Add Bookmark` (`F11` (Windows), `F3` (macOS), `F11` (IntelliJ IDEA Classic (macOS)), `⌃ ⇧ K` (macOS System Shortcuts), `F11` (XWin), `F11` (GNOME), `F11` (KDE), `F11` (Emacs), `Ctrl+F2` (Sublime Text), `⌘ F2` (Sublime Text (macOS)), `⌃ F3` (Xcode), `Ctrl+K, K` (Visual Studio), `⌘ K, K` (Visual Studio (macOS)), `F11` (ReSharper), `F11` (ReSharper (macOS)), `Ctrl+M` (QtCreator), `⌃ M` (QtCreator (macOS)), `F11` (NetBeans), `Ctrl+Shift+F11` (Eclipse), `F11` (Eclipse (macOS))) to add an anonymous bookmark or Add Mnemonic Bookmark (`Ctrl+F11` (Windows), `⌥ F3` (macOS), `⌘ F11` (IntelliJ IDEA Classic (macOS)), `⌃ ⌥ ⇧ K` (macOS System Shortcuts), `Ctrl+F11` (XWin), `Ctrl+F11` (GNOME), `Ctrl+F11` (KDE), `Ctrl+F11` (Emacs), `Ctrl+F11` (Sublime Text), `⌥ F3` (Sublime Text (macOS)), `⌥ F3` (Xcode), `Ctrl+F11` (Visual Studio), `⌥ F3` (Visual Studio (macOS)), `Ctrl+F11` (ReSharper), `⌥ F3` (ReSharper (macOS)), `Ctrl+F11` (QtCreator), `⌥ F3` (QtCreator (macOS)), `Ctrl+F11` (NetBeans), `Ctrl+Alt+Shift+F11` (Eclipse), `⌥ F3` (Eclipse (macOS))) to add a bookmark with an identifier.

2. For mnemonic bookmarks, select a number or a letter that you want to use as an identifier for this bookmark.

Press `Enter` (Windows), `⏎` (macOS), `⏎` (IntelliJ IDEA Classic (macOS)), `⏎` (macOS System Shortcuts), `Enter` (XWin), `Enter` (GNOME), `Enter` (KDE), `Enter` (Emacs), `Enter` (Sublime Text), `⏎` (Sublime Text (macOS)), `⏎` (Xcode), `Enter` (Visual Studio), `⏎` (Visual Studio (macOS)), `Enter` (ReSharper), `⏎` (ReSharper (macOS)), `Enter` (QtCreator), `⏎` (QtCreator (macOS)), `Enter` (NetBeans), `Enter` (Eclipse), `⏎` (Eclipse (macOS)) or click the selected letter or number once again to save the bookmark.

Procedure: Bookmark all editor tabs

You can quickly bookmark all open files and add these bookmarks to the new list.

1. Click the Recent Files, Tab Actions, and More icon ![](https://resources.jetbrains.com/help/img/idea/2026.2/app.expui.general.moreVertical.svg) that is on the tab bar and select `Bookmark Open Tabs`.

![Bookmarking all open tabs](https://resources.jetbrains.com/help/img/idea/2026.2/cl_bookmark_open_pages.png)

2. Name the new list.

![Naming a list of bookmarks](https://resources.jetbrains.com/help/img/idea/2026.2/cl_bookmark_pages_list.png)

You can use this list for new bookmarks [by default](#change-default-list): enable the Use as default list option.

The IDE will create a new list and add to this list all files from the open tabs.

![Lists of bookmarks](https://resources.jetbrains.com/help/img/idea/2026.2/cl_bookmarks_lists.png)

## Navigate between bookmarks

Procedure: Jump to a mnemonic bookmark with a digit

* Hold `Ctrl` (Windows), `Ctrl` (macOS), `Ctrl` (IntelliJ IDEA Classic (macOS)), `Ctrl` (macOS System Shortcuts), `Ctrl` (XWin), `Ctrl` (GNOME), `Ctrl` (KDE), `Ctrl` (Emacs), `Ctrl` (Sublime Text), `Ctrl` (Sublime Text (macOS)), `Ctrl` (Xcode), `Ctrl` (Visual Studio), `Ctrl` (Visual Studio (macOS)), `Ctrl` (ReSharper), `Ctrl` (ReSharper (macOS)), `Ctrl` (QtCreator), `Ctrl` (QtCreator (macOS)), `Ctrl` (NetBeans), `Ctrl` (Eclipse), `Ctrl` (Eclipse (macOS)) and press the mnemonic digit on the keyboard.

For example, to jump to the bookmark with mnemonic `5`, press `Ctrl+5` (Windows), `⌃ 5` (macOS), `⌃ 5` (IntelliJ IDEA Classic (macOS)), `⌃ 5` (macOS System Shortcuts), `Ctrl+5` (XWin), `Ctrl+5` (GNOME), `Ctrl+5` (KDE), `Ctrl+5` (Emacs), `Ctrl+5` (Sublime Text), `⌃ 5` (Sublime Text (macOS)), `⌃ ⌥ 5` (Xcode), `Ctrl+5` (Visual Studio), `⌃ 5` (Visual Studio (macOS)), `Ctrl+5` (ReSharper), `⌃ 5` (ReSharper (macOS)), `Ctrl+5` (QtCreator), `⌃ 5` (QtCreator (macOS)), `Ctrl+5` (NetBeans), `Ctrl+5` (Eclipse), `⌃ 5` (Eclipse (macOS)).

Procedure: Jump to a mnemonic bookmark with a letter

By default, the shortcuts for navigating to bookmarks with letter mnemonics are not assigned, but you can set your custom shortcuts.

1. Press `Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `⌘ Comma` (Xcode), `Ctrl+Alt+S` (Visual Studio), `⌘ Comma` (Visual Studio (macOS)), `Ctrl+Alt+S` (ReSharper), `⌘ Comma` (ReSharper (macOS)), `Ctrl+Alt+S` (QtCreator), `⌘ Comma` (QtCreator (macOS)), `Ctrl+Alt+S` (NetBeans), `Ctrl+Alt+S` (Eclipse), `⌘ Comma` (Eclipse (macOS)) to open settings and then select `Keymap`.

2. In the list of shortcuts, expand `Other | Bookmarks | Go to by Number/Mnemonic` and configure shortcuts as you like.

3. Press the configured shortcuts to navigate to letter bookmarks in the editor.

Procedure: Navigate line bookmarks

By default, the shortcuts for navigating line bookmarks are not assigned, but you can set custom shortcuts.

1. Press `Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `⌘ Comma` (Xcode), `Ctrl+Alt+S` (Visual Studio), `⌘ Comma` (Visual Studio (macOS)), `Ctrl+Alt+S` (ReSharper), `⌘ Comma` (ReSharper (macOS)), `Ctrl+Alt+S` (QtCreator), `⌘ Comma` (QtCreator (macOS)), `Ctrl+Alt+S` (NetBeans), `Ctrl+Alt+S` (Eclipse), `⌘ Comma` (Eclipse (macOS)) to open settings and then select `Keymap`.

2. In the list of shortcuts, expand `Other | Bookmarks` and configure shortcuts for:

* Next Line Bookmark / Previous Line Bookmark to navigate all line bookmarks.

* Next Line Bookmark in Editor / Previous Line Bookmark in Editor to navigate bookmarks in open files.

Procedure: Navigate line bookmarks in the popup

1. Press `Shift+F11` (Windows), `⌘ F3` (macOS), `⇧ F11` (IntelliJ IDEA Classic (macOS)), `⌘ ⌃ K` (macOS System Shortcuts), `Shift+F11` (XWin), `Shift+F11` (GNOME), `Shift+F11` (KDE), `Shift+F11` (Emacs), `Shift+F11` (Sublime Text), `Shift+F11` (Sublime Text (macOS)), `⌘ F3` (Xcode), `Ctrl+`` (Visual Studio), `⌃ `` (Visual Studio (macOS)), `Ctrl+`` (ReSharper), `⌃ `` (ReSharper (macOS)), `Alt+M` (QtCreator), `⌃ ⌥ M` (QtCreator (macOS)), `Ctrl+Shift+M` (NetBeans), `Shift+F11` (Eclipse), `⌘ F3` (Eclipse (macOS)) or go to `Edit | Bookmarks | Show Line Bookmarks…` in the main menu.

2. Double-click the bookmark or select it with the keyboard and press `Enter` (Windows), `⏎` (macOS), `⏎` (IntelliJ IDEA Classic (macOS)), `⏎` (macOS System Shortcuts), `Enter` (XWin), `Enter` (GNOME), `Enter` (KDE), `Enter` (Emacs), `Enter` (Sublime Text), `⏎` (Sublime Text (macOS)), `⏎` (Xcode), `Enter` (Visual Studio), `⏎` (Visual Studio (macOS)), `Enter` (ReSharper), `⏎` (ReSharper (macOS)), `Enter` (QtCreator), `⏎` (QtCreator (macOS)), `Enter` (NetBeans), `Enter` (Eclipse), `⏎` (Eclipse (macOS)).

For mnemonic bookmarks, press the corresponding digit or letter.

By default, CLion shows only line bookmarks in the bookmarks popup. You can configure the settings to see other bookmarked items (for example, files or folders): press `Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `⌘ Comma` (Xcode), `Ctrl+Alt+S` (Visual Studio), `⌘ Comma` (Visual Studio (macOS)), `Ctrl+Alt+S` (ReSharper), `⌘ Comma` (ReSharper (macOS)), `Ctrl+Alt+S` (QtCreator), `⌘ Comma` (QtCreator (macOS)), `Ctrl+Alt+S` (NetBeans), `Ctrl+Alt+S` (Eclipse), `⌘ Comma` (Eclipse (macOS)) to open the IDE settings, select Advanced Settings, and disable the Show only line bookmarks in popup option.

Procedure: Navigate to a bookmark from a list

1. In the main menu, go to `View | Tool Windows | Bookmarks` or press `Alt+2` (Windows), `⌘ 2` (macOS), `⌘ 2` (IntelliJ IDEA Classic (macOS)), `⌘ 2` (macOS System Shortcuts), `Alt+2` (XWin), `Alt+2` (GNOME), `Alt+2` (KDE), `Alt+2` (Emacs), `Alt+2` (Sublime Text), `⌘ 2` (Sublime Text (macOS)), `Alt+2` (Xcode), `Alt+2` (Visual Studio), `⌘ 2` (Visual Studio (macOS)), `Alt+2` (ReSharper), `⌘ 2` (ReSharper (macOS)), `Alt+2` (QtCreator), `Alt+2` (QtCreator (macOS)), `Alt+2` (NetBeans), `Alt+2` (Eclipse), `Alt+2` (Eclipse (macOS)) to open the Bookmarks tool window.

2. Expand the desired bookmark list or click Expand all to expand all lists.

3. Double-click a bookmark on the list to navigate to it or press:

* `Ctrl+Alt+Down` (Windows), `⌘ ⌥ ↓` (macOS), `⌘ ⌥ ↓` (IntelliJ IDEA Classic (macOS)), `⌘ ⌥ ↓` (macOS System Shortcuts), `Ctrl+Alt+Down` (XWin), `Alt+Shift+Down` (GNOME), `Ctrl+Alt+Down` (KDE), `Ctrl+Alt+Down` (Emacs), `Ctrl+Alt+Down` (Sublime Text), `Ctrl+Alt+Down` (Sublime Text (macOS)), `⌃ ↓` (Xcode), `Ctrl+Alt+Down` (Visual Studio), `⌘ ⌥ ↓` (Visual Studio (macOS)), `Ctrl+Alt+Down` (ReSharper), `⌘ ⌥ ↓` (ReSharper (macOS)), `Ctrl+Alt+Down` (QtCreator), `Ctrl+Alt+Down` (QtCreator (macOS)), `Ctrl+Alt+Down` (NetBeans), `Ctrl+Alt+Down` (Eclipse), `Ctrl+Alt+Down` (Eclipse (macOS)) (`Navigate | Next Bookmark Occurrence`) to jump to the next bookmark.

* `Ctrl+Alt+Up` (Windows), `⌘ ⌥ ↑` (macOS), `⌘ ⌥ ↑` (IntelliJ IDEA Classic (macOS)), `⌘ ⌥ ↑` (macOS System Shortcuts), `Ctrl+Alt+Up` (XWin), `Alt+Shift+Up` (GNOME), `Ctrl+Alt+Up` (KDE), `Ctrl+Alt+Up` (Emacs), `Ctrl+Alt+Up` (Sublime Text), `Ctrl+Alt+Up` (Sublime Text (macOS)), `⌃ ↑` (Xcode), `Ctrl+Alt+Up` (Visual Studio), `⌘ ⌥ ↑` (Visual Studio (macOS)), `Ctrl+Alt+Up` (ReSharper), `⌘ ⌥ ↑` (ReSharper (macOS)), `Ctrl+Alt+Up` (QtCreator), `⌘ ⌥ ↑` (QtCreator (macOS)), `Ctrl+Alt+Up` (NetBeans), `Ctrl+Alt+Up` (Eclipse), `Ctrl+Alt+Up` (Eclipse (macOS)) (`Navigate | Previous Bookmark Occurrence`) to return to the previous bookmark.

## Modify bookmarks

Procedure: Rename bookmarks

1. Do one of the following:

* Right-click the bookmark icon in the gutter and select Rename Bookmark

* Select a bookmark in the Bookmarks tool window and click ![](https://resources.jetbrains.com/help/img/idea/2026.2/app.expui.general.edit.svg) or press `F2` (Windows), `F2` (macOS), `F2` (IntelliJ IDEA Classic (macOS)), `F2` (macOS System Shortcuts), `F2` (XWin), `F2` (GNOME), `F2` (KDE), `F2` (Emacs), `F2` (Sublime Text), `F2` (Sublime Text (macOS)), `F2` (Xcode), `F2` (Visual Studio), `F2` (Visual Studio (macOS)), `F2` (ReSharper), `F2` (ReSharper (macOS)), `F2` (QtCreator), `F2` (QtCreator (macOS)), `F2` (NetBeans), `F2` (Eclipse), `F2` (Eclipse (macOS)).

2. Provide a new description:

![Renaming a bookmark in the editor](https://resources.jetbrains.com/help/img/idea/2026.2/cl_bookmarks_rename_gutter.png)

Procedure: Assign a mnemonic to an anonymous bookmark

You can convert an anonymous bookmark to a mnemonic one.

1. Right-click a bookmark icon in the editor gutter, a bookmarked item in the   Project tool window  (`Alt+1` (Windows), `⌘ 1` (macOS), `⌘ 1` (IntelliJ IDEA Classic (macOS)), `⌘ 1` (macOS System Shortcuts), `Alt+1` (XWin), `Alt+1` (GNOME), `Alt+1` (KDE), `Alt+1` (Emacs), `Alt+1` (Sublime Text), `⌘ 1` (Sublime Text (macOS)), `⌘ 1` (Xcode), `Ctrl+Alt+L` (Visual Studio), `⌘ ⌥ L` (Visual Studio (macOS)), `Alt+1` (ReSharper), `⌘ 1` (ReSharper (macOS)), `Alt+X` (QtCreator), `⌃ X` (QtCreator (macOS)), `Ctrl+1` (NetBeans), `Alt+1` (Eclipse), `Alt+1` (Eclipse (macOS)))  or a bookmark in the Bookmarks tool window, and select Assign Mnemonic (or press `Ctrl+F11` (Windows), `⌥ F3` (macOS), `⌘ F11` (IntelliJ IDEA Classic (macOS)), `⌃ ⌥ ⇧ K` (macOS System Shortcuts), `Ctrl+F11` (XWin), `Ctrl+F11` (GNOME), `Ctrl+F11` (KDE), `Ctrl+F11` (Emacs), `Ctrl+F11` (Sublime Text), `⌥ F3` (Sublime Text (macOS)), `⌥ F3` (Xcode), `Ctrl+F11` (Visual Studio), `⌥ F3` (Visual Studio (macOS)), `Ctrl+F11` (ReSharper), `⌥ F3` (ReSharper (macOS)), `Ctrl+F11` (QtCreator), `⌥ F3` (QtCreator (macOS)), `Ctrl+F11` (NetBeans), `Ctrl+Alt+Shift+F11` (Eclipse), `⌥ F3` (Eclipse (macOS))).

2. In the popup that opens, select a number or a letter that you want to use as an identifier for this bookmark.

Optionally, provide a description.

3. Press `Enter` (Windows), `⏎` (macOS), `⏎` (IntelliJ IDEA Classic (macOS)), `⏎` (macOS System Shortcuts), `Enter` (XWin), `Enter` (GNOME), `Enter` (KDE), `Enter` (Emacs), `Enter` (Sublime Text), `⏎` (Sublime Text (macOS)), `⏎` (Xcode), `Enter` (Visual Studio), `⏎` (Visual Studio (macOS)), `Enter` (ReSharper), `⏎` (ReSharper (macOS)), `Enter` (QtCreator), `⏎` (QtCreator (macOS)), `Enter` (NetBeans), `Enter` (Eclipse), `⏎` (Eclipse (macOS)) or click the selected letter or number once again to save the bookmark.

Procedure: Change a mnemonic identifier

1. Right-click a bookmark icon in the editor gutter, a bookmarked item in the   Project tool window  (`Alt+1` (Windows), `⌘ 1` (macOS), `⌘ 1` (IntelliJ IDEA Classic (macOS)), `⌘ 1` (macOS System Shortcuts), `Alt+1` (XWin), `Alt+1` (GNOME), `Alt+1` (KDE), `Alt+1` (Emacs), `Alt+1` (Sublime Text), `⌘ 1` (Sublime Text (macOS)), `⌘ 1` (Xcode), `Ctrl+Alt+L` (Visual Studio), `⌘ ⌥ L` (Visual Studio (macOS)), `Alt+1` (ReSharper), `⌘ 1` (ReSharper (macOS)), `Alt+X` (QtCreator), `⌃ X` (QtCreator (macOS)), `Ctrl+1` (NetBeans), `Alt+1` (Eclipse), `Alt+1` (Eclipse (macOS))) , and select Change Mnemonic (or press `Ctrl+F11` (Windows), `⌥ F3` (macOS), `⌘ F11` (IntelliJ IDEA Classic (macOS)), `⌃ ⌥ ⇧ K` (macOS System Shortcuts), `Ctrl+F11` (XWin), `Ctrl+F11` (GNOME), `Ctrl+F11` (KDE), `Ctrl+F11` (Emacs), `Ctrl+F11` (Sublime Text), `⌥ F3` (Sublime Text (macOS)), `⌥ F3` (Xcode), `Ctrl+F11` (Visual Studio), `⌥ F3` (Visual Studio (macOS)), `Ctrl+F11` (ReSharper), `⌥ F3` (ReSharper (macOS)), `Ctrl+F11` (QtCreator), `⌥ F3` (QtCreator (macOS)), `Ctrl+F11` (NetBeans), `Ctrl+Alt+Shift+F11` (Eclipse), `⌥ F3` (Eclipse (macOS))).

2. In the popup that opens, select another identifier. If necessary, change the description as well.

3. Press `Enter` (Windows), `⏎` (macOS), `⏎` (IntelliJ IDEA Classic (macOS)), `⏎` (macOS System Shortcuts), `Enter` (XWin), `Enter` (GNOME), `Enter` (KDE), `Enter` (Emacs), `Enter` (Sublime Text), `⏎` (Sublime Text (macOS)), `⏎` (Xcode), `Enter` (Visual Studio), `⏎` (Visual Studio (macOS)), `Enter` (ReSharper), `⏎` (ReSharper (macOS)), `Enter` (QtCreator), `⏎` (QtCreator (macOS)), `Enter` (NetBeans), `Enter` (Eclipse), `⏎` (Eclipse (macOS)) or click the selected letter or number once again to save the bookmark.

Procedure: Anonymize mnemonic bookmarks

You can convert a mnemonic bookmark to an anonymous one.

* Right-click a bookmark icon in the editor gutter, a bookmarked item in the   Project tool window  (`Alt+1` (Windows), `⌘ 1` (macOS), `⌘ 1` (IntelliJ IDEA Classic (macOS)), `⌘ 1` (macOS System Shortcuts), `Alt+1` (XWin), `Alt+1` (GNOME), `Alt+1` (KDE), `Alt+1` (Emacs), `Alt+1` (Sublime Text), `⌘ 1` (Sublime Text (macOS)), `⌘ 1` (Xcode), `Ctrl+Alt+L` (Visual Studio), `⌘ ⌥ L` (Visual Studio (macOS)), `Alt+1` (ReSharper), `⌘ 1` (ReSharper (macOS)), `Alt+X` (QtCreator), `⌃ X` (QtCreator (macOS)), `Ctrl+1` (NetBeans), `Alt+1` (Eclipse), `Alt+1` (Eclipse (macOS))) , or a bookmark in the Bookmarks tool window, and select Remove Mnemonic.

## Delete bookmarks

Procedure:

* To delete a bookmark from the Bookmarks tool window  or from the gutter, right-click it and select Delete Bookmark.

* To delete a bookmark from the   Project tool window  (`Alt+1` (Windows), `⌘ 1` (macOS), `⌘ 1` (IntelliJ IDEA Classic (macOS)), `⌘ 1` (macOS System Shortcuts), `Alt+1` (XWin), `Alt+1` (GNOME), `Alt+1` (KDE), `Alt+1` (Emacs), `Alt+1` (Sublime Text), `⌘ 1` (Sublime Text (macOS)), `⌘ 1` (Xcode), `Ctrl+Alt+L` (Visual Studio), `⌘ ⌥ L` (Visual Studio (macOS)), `Alt+1` (ReSharper), `⌘ 1` (ReSharper (macOS)), `Alt+X` (QtCreator), `⌃ X` (QtCreator (macOS)), `Ctrl+1` (NetBeans), `Alt+1` (Eclipse), `Alt+1` (Eclipse (macOS))) , right-click a bookmarked item and select `Bookmarks | Delete Bookmark`.

## Lists of bookmarks

There's one predefined empty bookmark list that has the same name as the project. By default, CLion adds your bookmarks there. If necessary, you can use another list as the default. You can also create multiple lists and move items between them.

Procedure: Create a bookmark list

1. In the main menu, go to `View | Tool Windows | Bookmarks` or press `Alt+2` (Windows), `⌘ 2` (macOS), `⌘ 2` (IntelliJ IDEA Classic (macOS)), `⌘ 2` (macOS System Shortcuts), `Alt+2` (XWin), `Alt+2` (GNOME), `Alt+2` (KDE), `Alt+2` (Emacs), `Alt+2` (Sublime Text), `⌘ 2` (Sublime Text (macOS)), `Alt+2` (Xcode), `Alt+2` (Visual Studio), `⌘ 2` (Visual Studio (macOS)), `Alt+2` (ReSharper), `⌘ 2` (ReSharper (macOS)), `Alt+2` (QtCreator), `Alt+2` (QtCreator (macOS)), `Alt+2` (NetBeans), `Alt+2` (Eclipse), `Alt+2` (Eclipse (macOS)) to open the Bookmarks tool window.

2. In the tool window, click ![Create Bookmarks List](https://resources.jetbrains.com/help/img/idea/2026.2/app-client.expui.bookmarks.addBookmarksList.png) and name the new list in the dialog that opens.

3. Enable the Use as default list option if you want your bookmarks to go to this list automatically and click Create.

Procedure: Move a bookmark to another list

* Go to `View | Tool Windows | Bookmarks` or press `Alt+2` (Windows), `⌘ 2` (macOS), `⌘ 2` (IntelliJ IDEA Classic (macOS)), `⌘ 2` (macOS System Shortcuts), `Alt+2` (XWin), `Alt+2` (GNOME), `Alt+2` (KDE), `Alt+2` (Emacs), `Alt+2` (Sublime Text), `⌘ 2` (Sublime Text (macOS)), `Alt+2` (Xcode), `Alt+2` (Visual Studio), `⌘ 2` (Visual Studio (macOS)), `Alt+2` (ReSharper), `⌘ 2` (ReSharper (macOS)), `Alt+2` (QtCreator), `Alt+2` (QtCreator (macOS)), `Alt+2` (NetBeans), `Alt+2` (Eclipse), `Alt+2` (Eclipse (macOS)) to open the Bookmarks tool window and drag a bookmark to another list.

* In the   Project tool window  (`Alt+1` (Windows), `⌘ 1` (macOS), `⌘ 1` (IntelliJ IDEA Classic (macOS)), `⌘ 1` (macOS System Shortcuts), `Alt+1` (XWin), `Alt+1` (GNOME), `Alt+1` (KDE), `Alt+1` (Emacs), `Alt+1` (Sublime Text), `⌘ 1` (Sublime Text (macOS)), `⌘ 1` (Xcode), `Ctrl+Alt+L` (Visual Studio), `⌘ ⌥ L` (Visual Studio (macOS)), `Alt+1` (ReSharper), `⌘ 1` (ReSharper (macOS)), `Alt+X` (QtCreator), `⌃ X` (QtCreator (macOS)), `Ctrl+1` (NetBeans), `Alt+1` (Eclipse), `Alt+1` (Eclipse (macOS))) , right-click a bookmarked item and select `Bookmarks | Add Bookmark to Another List`.

Procedure: Sort bookmarks

* To move a bookmark up or down the list, right-click it in the Bookmarks tool window and select Move Up or Move Down.

* To display line bookmarks in the tool window grouped by file, click ![Options](https://resources.jetbrains.com/help/img/idea/2026.2/app.expui.general.moreVertical.svg) in the Bookmarks tool window and select the Group Line Bookmarks by File option.

Procedure: Change the default list

CLion adds all your bookmarks to the list that is configured as the default one. If necessary, you can use another default list for your bookmarks.

1. In the main menu, go to `View | Tool Windows | Bookmarks` or press `Alt+2` (Windows), `⌘ 2` (macOS), `⌘ 2` (IntelliJ IDEA Classic (macOS)), `⌘ 2` (macOS System Shortcuts), `Alt+2` (XWin), `Alt+2` (GNOME), `Alt+2` (KDE), `Alt+2` (Emacs), `Alt+2` (Sublime Text), `⌘ 2` (Sublime Text (macOS)), `Alt+2` (Xcode), `Alt+2` (Visual Studio), `⌘ 2` (Visual Studio (macOS)), `Alt+2` (ReSharper), `⌘ 2` (ReSharper (macOS)), `Alt+2` (QtCreator), `Alt+2` (QtCreator (macOS)), `Alt+2` (NetBeans), `Alt+2` (Eclipse), `Alt+2` (Eclipse (macOS)) to open the Bookmarks tool window.

2. Right-click the list that you want to use as your default bookmark list and select Mark List as Default.

The list is now located above others in the tool window and has the Default tag.

Procedure: Delete a list of bookmarks

After you delete a list, all bookmarks from it are removed from code and project items.

1. In the main menu, go to `View | Tool Windows | Bookmarks` or press `Alt+2` (Windows), `⌘ 2` (macOS), `⌘ 2` (IntelliJ IDEA Classic (macOS)), `⌘ 2` (macOS System Shortcuts), `Alt+2` (XWin), `Alt+2` (GNOME), `Alt+2` (KDE), `Alt+2` (Emacs), `Alt+2` (Sublime Text), `⌘ 2` (Sublime Text (macOS)), `Alt+2` (Xcode), `Alt+2` (Visual Studio), `⌘ 2` (Visual Studio (macOS)), `Alt+2` (ReSharper), `⌘ 2` (ReSharper (macOS)), `Alt+2` (QtCreator), `Alt+2` (QtCreator (macOS)), `Alt+2` (NetBeans), `Alt+2` (Eclipse), `Alt+2` (Eclipse (macOS)) to open the Bookmarks tool window.

2. Right-click the list that you want to delete and select Delete Bookmark List.

## Preserve bookmarks when switching branches

By default, CLion maintains a separate bookmark context for each VCS branch. When you switch branches, the IDE restores the bookmarks that were saved for that branch, so each branch keeps its own set of bookmarks.

If you want to keep the same bookmarks while switching branches, press `Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `⌘ Comma` (Xcode), `Ctrl+Alt+S` (Visual Studio), `⌘ Comma` (Visual Studio (macOS)), `Ctrl+Alt+S` (ReSharper), `⌘ Comma` (ReSharper (macOS)), `Ctrl+Alt+S` (QtCreator), `⌘ Comma` (QtCreator (macOS)), `Ctrl+Alt+S` (NetBeans), `Ctrl+Alt+S` (Eclipse), `⌘ Comma` (Eclipse (macOS)) to open the IDE settings, select Advanced Settings, and disable the Restore bookmark context on branch switching option. With this option off, CLion preserves bookmarks when you switch branches, even if file contents differ between branches.

