# Recent files and changes

> For the complete documentation index, see [llms.txt](https://www.jetbrains.com/help/ruby/2026.3/llms.txt).

When working on a project, you often need to switch between files and locations you've recently viewed or edited. RubyMine provides quick navigation features that help you find and reopen recent files or revisit edited code fragments.

Procedure: Find recent files

You can search for recently opened or edited files using the Recent Files popup.

* To open the Recent Files popup, press `Ctrl+E` (Windows), `⌘ E` (macOS), `⌘ E` (IntelliJ IDEA Classic (macOS)), `⌘ E` (macOS System Shortcuts), `Ctrl+E` (XWin), `Ctrl+E` (GNOME), `Ctrl+E` (KDE), `Ctrl+E` (Emacs), `Ctrl+E` (Sublime Text), `⌘ E` (Sublime Text (macOS)), `Ctrl+Comma` (Visual Studio), `⌃ Comma` (Visual Studio (macOS)), `Alt+Shift+F` (TextMate), `Shift+F4` (NetBeans), `Ctrl+E` (Eclipse), `⌘ E` (Eclipse (macOS)).

![Recent files](https://resources.jetbrains.com/help/img/idea/2026.3/rm_recent_files_popup.png)

* To show only recently edited files, press `Ctrl+E` (Windows), `⌘ E` (macOS), `⌘ E` (IntelliJ IDEA Classic (macOS)), `⌘ E` (macOS System Shortcuts), `Ctrl+E` (XWin), `Ctrl+E` (GNOME), `Ctrl+E` (KDE), `Ctrl+E` (Emacs), `Ctrl+E` (Sublime Text), `⌘ E` (Sublime Text (macOS)), `Ctrl+Comma` (Visual Studio), `⌃ Comma` (Visual Studio (macOS)), `Alt+Shift+F` (TextMate), `Shift+F4` (NetBeans), `Ctrl+E` (Eclipse), `⌘ E` (Eclipse (macOS)) again or select the Show edited only option.

* To search for items within the popup, start typing your search query. RubyMine filters the results dynamically as you type, showing only the matching items.

![Recent files](https://resources.jetbrains.com/help/img/idea/2026.3/rm_recent_files.png)

Procedure: Find recent locations

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

* To open the Recent Locations popup, press `Ctrl+Shift+E` (Windows), `⌘ ⇧ E` (macOS), `⌘ ⇧ E` (IntelliJ IDEA Classic (macOS)), `⌘ ⇧ E` (macOS System Shortcuts), `Ctrl+Shift+E` (XWin), `Ctrl+Shift+E` (GNOME), `Ctrl+Shift+E` (KDE), `Ctrl+Shift+E` (Emacs), `Ctrl+Shift+E` (Sublime Text), `⌘ ⇧ E` (Sublime Text (macOS)), `Ctrl+Shift+E` (Visual Studio), `Ctrl+Shift+E` (Visual Studio (macOS)), `Meta+Shift+E` (TextMate), `Ctrl+Shift+E` (NetBeans), `Ctrl+Shift+E` (Eclipse), `⌘ ⇧ E` (Eclipse (macOS)). The list starts with the latest visited location at the top and contains code snippets.

![Recent Locations popup](https://resources.jetbrains.com/help/img/idea/2026.3/rm_recent_locations_popup.png)

* To show only the locations with changed code, while in the popup, use the `Ctrl+Shift+E` (Windows), `⌘ ⇧ E` (macOS), `⌘ ⇧ E` (IntelliJ IDEA Classic (macOS)), `⌘ ⇧ E` (macOS System Shortcuts), `Ctrl+Shift+E` (XWin), `Ctrl+Shift+E` (GNOME), `Ctrl+Shift+E` (KDE), `Ctrl+Shift+E` (Emacs), `Ctrl+Shift+E` (Sublime Text), `⌘ ⇧ E` (Sublime Text (macOS)), `Ctrl+Shift+E` (Visual Studio), `Ctrl+Shift+E` (Visual Studio (macOS)), `Meta+Shift+E` (TextMate), `Ctrl+Shift+E` (NetBeans), `Ctrl+Shift+E` (Eclipse), `⌘ ⇧ E` (Eclipse (macOS)) shortcut again or select the Show edited only option.

![Recent Locations popup: Show changed only](https://resources.jetbrains.com/help/img/idea/2026.3/rm_only_changed_code_locations.png)

* To search for a code snippet, in the Recent Locations popup, start typing your search query. You can search by the code text, file name, or [breadcrumbs](using-code-editor.html#breadcrumbs).

![Search locations](https://resources.jetbrains.com/help/img/idea/2026.3/rm_recent_locations_search.png)

* To delete a location entry from the search results, press either `Delete` or `Backspace` (Windows), `⌫` (macOS), `⌫` (IntelliJ IDEA Classic (macOS)), `⌫` (macOS System Shortcuts), `Backspace` (XWin), `Backspace` (GNOME), `Backspace` (KDE), `Backspace` (Emacs), `Backspace` (Sublime Text), `⌫` (Sublime Text (macOS)), `Backspace` (Visual Studio), `⌫` (Visual Studio (macOS)), `Backspace` (TextMate), `Backspace` (NetBeans), `Backspace` (Eclipse), `⌫` (Eclipse (macOS)).

> **Tip:**
> Keep in mind that the deleted location is also removed from the list of entries that you [access with the  shortcut](navigating-through-the-source-code.html#back_forward) .

Procedure: Find recent changes

You can use the Recent Changes list to get a list of recent changes made locally or externally in your project. If necessary, you can revert those changes.

1. In the main menu, go to `View | Recent Changes` `Alt+Shift+C` (Windows), `⌥ ⇧ C` (macOS), `⌥ ⇧ C` (IntelliJ IDEA Classic (macOS)), `⌥ ⇧ C` (macOS System Shortcuts), `Alt+Shift+C` (XWin), `Alt+Shift+C` (GNOME), `Alt+Shift+C` (KDE), `Alt+Shift+C` (Emacs), `Alt+Shift+C` (Sublime Text), `⌥ ⇧ C` (Sublime Text (macOS)), `Alt+Shift+C` (Visual Studio), `Alt+Shift+C` (Visual Studio (macOS)), `Alt+C` (TextMate), `Alt+Shift+C` (NetBeans), `Alt+Shift+C` (Eclipse), `Alt+Shift+C` (Eclipse (macOS)).

![the Recent Changes popup](https://resources.jetbrains.com/help/img/idea/2026.3/rm_recent_changes.png)

2. In the Recent Changes tab of the [Local History](local-history.html) tool window, select a change.

The IDE shows you a list of files modified with this change in the panel below.

3. Press `Enter` (Windows), `⏎` (macOS), `⏎` (IntelliJ IDEA Classic (macOS)), `⏎` (macOS System Shortcuts), `Enter` (XWin), `Enter` (GNOME), `Enter` (KDE), `Enter` (Emacs), `Enter` (Sublime Text), `⏎` (Sublime Text (macOS)), `Enter` (Visual Studio), `⏎` (Visual Studio (macOS)), `Enter` (TextMate), `Enter` (NetBeans), `Enter` (Eclipse), `⏎` (Eclipse (macOS)) or double-click the file to open the diff viewer where you can check what was changed and revert those changes if necessary.

