JetBrains Rider 2021.3 Help

Navigate recent locations and changes

JetBrains Rider keeps track of your actions and navigation history, and offers some commands that let you navigate to places where you have edited or just studied the code.

The lists of viewed/edited files are stored separately for each solution you open and it is saved when you close the solution. This means that you can invoke this command as soon as you open a solution to get the list of the files you worked with in previous working sessions.

Navigate to recently viewed files

View | Recent Files

Ctrl+E

This command helps you quickly find a file that you have opened recently in the current solution.

Navigating to files that you have opened recently

When the popup appears, you can press Ctrl+E once again or tick the corresponding checkbox to only show recently changed files.

Navigate to recently edited files

View | Recently Changed Files

Ctrl+Shift+Comma

This command is similar to Go to Recent Files, but it allows you to navigate to symbols or files that you have recently modified in the current solution.

Navigating to recently modified items

When the popup appears, you can press Ctrl+Shift+Comma once again or clear the corresponding checkbox to show all recently viewed files.

Find recent locations

You can also check your recently viewed or changed code using the Recent Locations popup.

  • To open the Recent Locations popup, press Ctrl+Shift+E. The list starts with the latest visited location at the top and contains code snippets.

    JetBrains Rider: Recent Locations popup
  • While in the popup, use the same shortcut or select the Show changed only checkbox to see only the locations with changed code.

    JetBrains Rider: Recent Locations popup. Show changed only
  • To search for a code snippet, in the Recent Locations popup, start typing your search query. You can search by the code text, filename, or breadcrumbs.

    JetBrains Rider: Recent Locations popup. Search
  • To delete a location entry from the search results, press either Delete or Backspace.

    Keep in mind that the deleted location is also removed from the list of entries that you access with the Ctrl+Alt+Left shortcut.

Jump back to previous edit

Navigate | Last Edit Location

Ctrl+Shift+Backspace

This command brings your caret to the place in your solution where you have made some changes. You can invoke this command several times to go further back in your editing history.

Move through navigation history

Navigate | Back/Forward (Icons actions back or Icons actions forward on the toolbar)

Ctrl+Alt+Left/Ctrl+Alt+Right

Using these commands, you can quickly navigate through the history of your movements in the codebase. Whenever you move in the editor and switch between editor tabs, as well as when you use Navigate and search commands (except Back and Forward of course), the navigation history is recorded and you can go backward and forward within it.

If you edit a file that is under version control, there are several ways to move between VCS changes: you can use the navigation commands, keyboard shortcuts, and the change markers.

Navigate to the next/previous change in the editor:

  • Press Ctrl+Alt+Shift+Down/Ctrl+Alt+Shift+Up.

  • From the main menu, choose Navigate | Next / Previous Change.

  • Point to a change marker, and click Icons actions previous occurence or Icons actions next occurence.

Navigate to the place of your last edit:

  • Press Ctrl+Shift+Backspace.

  • From the main menu, choose Navigate | Last Edit Location

Last modified: 07 April 2022