Navigating to Recent Locations
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 saved 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.
While looking at the list of recently viewed/edited files, note the following:
- Files currently opened in editor tabs are marked with asterisks (*).
- Library and decompiled files have yellow highlighting.
- Path to the selected file is shown at the bottom of the list.
Navigating to recently viewed files
This command helps you quickly find a file that you have opened recently in the current solution.
Navigating 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.
The list of recent edits is saved separately for each solution you open and it is not cleared 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 items you modified during previous working sessions.
Jumping 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.
Moving through navigation history
Ctrl+Minus / Ctrl+Shift+Minus
Using these commands, you can quickly navigate through destinations of JetBrains Rider navigation results. Whenever you use Navigation and Search commands (except Back and Forward of course), the navigation history is recorded and you can go backward and forward within it.