ReSharper
 
Get ReSharper
Get your hands on the new features ahead of the release by joining the Early Access Program for ReSharper 2025.1! Learn more

Bookmarks

Last modified: 08 October 2024

If you want to return to some place in your code later, you can mark any code line in your solution or in library code with a bookmark.

There are two kinds of bookmarks that you can use:

  • Bookmarks with mnemonics — are most useful for marking code lines that you often refer to, like top 10 places in your current solution. You can have up to 10 numbered bookmarks simultaneously. They are indicated by the following icons on the left editor gutter: ThemedIcon.Bookmark3.Screen.(Gray).png

    Use dedicated shortcuts for this kind of bookmarks: Ctrl+Shift+[digit] toggles the bookmark with this digit; Ctrl+[digit] navigates to the bookmark with this digit.

  • Anonymous bookmarks— are allowed in unlimited numbers so you can mark any line, which you think is worth returning to at some time in the future. They are indicated by the following icon on the left editor gutter: ThemedIcon.AnonymousBookmark.Screen.(Gray).png

    You can toggle bookmarks of this kind and navigate them from the bookmarks popup.

    tip

    If the code that you are going to mark contains some unfinished functionality, consider adding a To-do comment for that code instead of a bookmark.

This feature is supported in the following languages and technologies:

The instructions and examples given here address the use of the feature in C#. For more information about other languages, refer to corresponding topics in the Languages and frameworks section.