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
This command helps you quickly find a file that you have opened recently in the current solution.
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
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.
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.
While in the popup, use the same shortcut or select the Show changed only checkbox to see only the locations with changed code.
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.
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
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
Using these commands, you can quickly navigate through destinations of JetBrains Rider navigation results. Whenever 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.
Navigate VCS changes in document
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
.Point to a change marker, and click or .
Navigate to the place of your last edit:
Press Ctrl+Shift+Backspace.
From the main menu, choose