ReSharper provides useful and convenient way of marking code lines and navigating between them.
To create a bookmark
- Place the caret at the code line you want to bookmark.
- On the main menu, choose ReSharper | Navigate | Bookmarks | Bookmarks or press Ctrl+` to display the list of bookmarks.
- Do one of the following:
- To create a numbered bookmark, select a numbered marker and press Insert.
- To create an unnumbered bookmark, select New anonymous bookmark and press Insert.
- A bookmark token appears in the left gutter of the editor next to the selected line.
Note
If you want to create a numbered bookmark right from the editor, press Ctrl+Shift+<digit>. If the numbered bookmark is already set, it will be replaced.
To navigate between bookmarks
- On the main menu, choose ReSharper | Navigate | Bookmarks | Bookmarks or press Ctrl+` to display the list of bookmarks.
- Choose a numbered or an unnumbered bookmark, press Enter or click the selected bookmark.
- The caret positions at the line where the bookmark is.
Note
If you want to navigate to a numbered bookmark right from the editor, press Ctrl+<digit>.
To remove bookmarks
- To remove several bookmarks, on the main menu, choose ReSharper | Navigate | Bookmarks | Clear All Bookmarks or ReSharper | Navigate | Bookmarks | Clear All Bookmarks in the Document.
- To remove exactly one bookmark, on the main menu, choose ReSharper | Navigate | Bookmarks | Bookmarks or press Ctrl+`. The list of bookmarks opens, choose a bookmark and press Delete to remove the chosen one.
