Bookmarks are great tools to make navigation in your code easier — even in small projects you may want to have some often visited places marked with bookmarks, which are easily available by a hotkey, while in big projects you may require tens of bookmarks with a hierarchical organization and dynamic bookmarks visibility depending on the tasks you are doing at the moment.
You can call this panel from the Main Menu:
View ⇒ Bookmark Window, or using the hotkey Ctrl+K, Ctrl+W.
The Bookmarks panel is responsible for displaying bookmarks and the information about them, providing tools to configure the hierarchical structure or visibility options and add new bookmarks.
At the top of the panel you can find following buttons:
|Toggle a bookmark||Adds or removes the bookmarks on a line.||—|
|New folder||Creates a folder for the bookmarks.||Ctrl+K,|
|Previous bookmark||Moves the caret to the prev. bookmark.||Ctrl+K,|
|Next bookmark||Moves the caret to the next bookmark.||Ctrl+K,|
|Prev. bookmark in a folder||Moves to the prev. bookmark in the current folder.||Ctrl+Shift+K,|
|Next bookmark in a folder||Moves to the next bookmark in the current folder.||Ctrl+Shift+K,|
|Enable / Disable all bookmarks||Enables or disables all the bookmarks.||—|
|Delete bookmark / folder||Deletes selected bookmark(s) or folder(s).||—|
Below the toolbar you can see all the bookmarks in the current solution with the name, the file, and the line number specified for each bookmark. You can disable or enable each bookmark or folder by checking / unchecking the checkbox next to its name — disabled bookmarks are not displayed in the editor and are not used when switching to the next / the previous bookmarks.
By default, the new bookmark has the name
Bookmark1. You may rename it using the context menu. If you want to organize your bookmarks, you should create folders and simply drag&drop the bookmarks in the list to get your desired structure.
To open the code line of the current bookmark, just double-click on this bookmark in the panel.
In this section:
This also may be useful: