Bookmarks
Last modified: 21 July 2022Add bookmark: anonymous F11, mnemonic ⌃ F11
View all bookmarks: View | Tool Windows | Bookmarks (⌥ 2)
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, AppCode 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.
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 ⌥ 2. The tool window also shows all breakpoints that are automatically added to the dedicated list once you place them in your code.

AppCode 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
AppCode 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 and set another list as default.
Add an anonymous line bookmark
In the editor, place the caret at a line of code and press F11.
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.

Add a mnemonic line bookmark
In the editor, place the caret at a line of code and press ⌃ F11.
Alternatively, right-click the gutter next to the line of code that you want to bookmark and select Add Mnemonic Bookmark.
In the popup that opens, select a number or a letter that you want to use as an identifier for this bookmark.
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.
Optionally, provide a description for the new bookmark.
Press ⏎ to save the bookmark.
A letter or a number bookmark icon appears in the gutter next to the bookmarked line.
tip
If you want to bring back the confirmation dialog that is shown before replacing an existing mnemonic with a new one, click
in the Bookmarks tool window and enable the Ask Before Rewriting Mnemonic option.
tip
To take a look at all line bookmarks that you have in code, press ⇧ F11 or go to Edit | Bookmarks | Show Line Bookmarks.
Bookmark files and folders
In the Project tool window (⌥ 1), right-click an item that you want to bookmark and select Bookmarks | Add Bookmark (F11) or Add Mnemonic Bookmark (⌃ F11).
note
To add a bookmark for a folder, switch to the Files view.
For mnemonic bookmarks, select a number or a letter that you want to use as an identifier for this bookmark.
Press ⏎ to save the bookmark.
The corresponding icon appears in the Project tool window next to the bookmarked item.

Navigate between bookmarks
Jump to a mnemonic bookmark with a digit
Hold Ctrl and press the mnemonic digit on the keyboard.
For example, to jump to the bookmark with mnemonic 5, press ⌃ 5.
Navigate line bookmarks in the popup
Press ⇧ F11 or from the main menu, select Edit | Bookmarks | Show Line Bookmarks.
Double-click the bookmark or select it with the keyboard and press ⏎.
For mnemonic bookmarks, press the corresponding digit or letter.
By default, AppCode shows only line bookmarks in the bookmarks popup. You can configure the settings to see other bookmarked items (for example, files or folders): press ⌃ ⌥ S to open the IDE settings, select Advanced Settings, and disable the Show only line bookmarks in popup option.
Navigate to a bookmark from a list
From the main menu, select View | Tool Windows | Bookmarks or press ⌥ 2 to open the Bookmarks tool window.
Expand the desired bookmark list or click Expand all to expand all bookmark lists.
Double-click a bookmark on the list to navigate to it.
Go to the next or previous bookmark
Press ⌃ ⌥ ↓ (Navigate | Next Bookmark Occurrence) to jump to the next bookmark.
Press ⌃ ⌥ ↑ (Navigate | Previous Bookmark Occurrence) to return to the previous bookmark.
Modify bookmarks
Rename bookmarks
In the Bookmarks tool window (⌥ 2), bookmarks have short descriptions. By default, they contain the code from the line or the name of the item on which they are placed. If necessary, you can give bookmarks your own short descriptions.
Right-click a bookmark icon in the editor gutter, a bookmarked item in the Project tool window, or a bookmark in the Bookmarks tool window, and select Rename Bookmark.
In the dialog that opens, specify a new description and click OK.
Assign a mnemonic to an anonymous bookmark
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, or a bookmark in the Bookmarks tool window, and select Assign Mnemonic (or press ⌃ F11).
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. Press ⏎ to save the bookmark.
Change a mnemonic identifier
Right-click a bookmark icon in the editor gutter, a bookmarked item in the Project tool window, or a bookmark in the Bookmarks tool window, and select Change Mnemonic (or press ⌃ F11).
In the popup that opens, select another identifier. If necessary, change the description as well.
Press ⏎ to save the changes.
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, or a bookmark in the Bookmarks tool window, and select Remove Mnemonic.
Delete bookmarks
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, right-click a bookmarked item and select Bookmarks | Delete Bookmark.
Lists of bookmarks
There's one predefined empty bookmarks list that has the same name as the project. By default, AppCode 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.
Create a bookmarks list
From the main menu, select View | Tool Windows | Bookmarks or press ⌥ 2 to open the Bookmarks tool window.
In the tool window, click
and name the new list in the dialog that opens.
Enable the Use as default list option if you want your bookmarks to go to this list automatically and click Create.
Move a bookmark to another list
From the main menu, select View | Tool Windows | Bookmarks or press ⌥ 2 to open the Bookmarks tool window and drag a bookmark to another list.
In the Project tool window (⌥ 1), right-click a bookmarked item and select Bookmarks | Add Bookmark to Another List.
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
in the Bookmarks tool window and select the Group Line Bookmarks by File option.
Change the default list
AppCode 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.
From the main menu, select View | Tool Windows | Bookmarks or press ⌥ 2 to open the Bookmarks tool window.
Right-click the list that you want to use as your default bookmarks list and select Mark List as Default.
The list is now located above others in the tool window and has the Default tag.
Delete a list of bookmarks
After you delete a list, all bookmarks from it are removed from code and project items.
From the main menu, select View | Tool Windows | Bookmarks or press ⌥ 2 to open the Bookmarks tool window.
Right-click the list that you want to delete and select Delete Bookmark List.
Thanks for your feedback!