ReSharper 8.0 Web Help

ReSharper provides useful and convenient way of marking code lines and navigating between them.

To create a bookmark
  1. Place the caret at the code line you want to bookmark.
  2. On the main menu, choose ReSharper | Navigate | Bookmarks | Bookmarks or press Ctrl+` to display the list of bookmarks.

    Navigation_and_Search__Bookmarks_01

  3. 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.
  4. 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
  1. On the main menu, choose ReSharper | Navigate | Bookmarks | Bookmarks or press Ctrl+` to display the list of bookmarks.
  2. Choose a numbered or an unnumbered bookmark, press Enter or click the selected bookmark.
  3. 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 all bookmarks in the solution or in the current file, choose ReSharper | Navigate | Bookmarks | Clear All Bookmarks on the main menu or ReSharper | Navigate | Bookmarks | Clear All Bookmarks in Document.
  • To remove exactly one bookmark, choose ReSharper | Navigate | Bookmarks | Bookmarks on the main menu or press Ctrl+`. In the list of bookmarks that opens, choose a bookmark and press Delete to remove the chosen one.
  • To remove a current bookmark, click on it in the left gutter of the editor.

This feature is supported in the following languages/technologies:

C# VB.NET HTML ASPX Razor JavaScript TypeScript CSS XML XAML RESX Build Scripts
feature_available feature_available feature_available feature_available feature_available feature_available feature_available feature_available feature_available feature_available feature_available feature_available

Tip

The instructions and examples given here address the use of the feature in C#. For details specific to other languages, see the corresponding topics in the ReSharper by Language section.

See Also

Procedures: