RecentEditors is an Eclipse plugin that adds a new dialog to see and re-open recently closed files. It also adds a command to re-open the last closed editor via keyboard shortcut.
Furthermore, the current scoll position and caret position of editors is persisted and can be restored when an editor is re-opened. This enables to continue editing at the last viewed position.
This plugin adds the following shortcuts. They can be changed in the Preferences:
Recently Closed Files Dialog: CTRL+E
Re-open Last Closed File: CTRL+SHIFT+W
Published on the Eclipse Marketplace
Update Site: https://raw.githubusercontent.com/achimmihca/RecentEditors/release/updatesite
See also the Open Editors plugin to navigate open files.
The following explains how to set up your Eclipse IDE to continue the development of this plugin.
-
Clone the repository
-
Download and start Eclipse
-
Install the plugin Development Tools (PDE) if not done yet
- Help > Install New Software...
- Work with
download.eclipse.org/releases/...
- Select 'General Purpose Tools' > 'Eclipse plugin Development Environment.'
-
Import the projects from the cloned repository
- File > Import... > Existing Projects Into Workspace
- Select the repository location and import all projects
-
Configure the Target Platform. It must contain all required plugins and should not contain to much bloat, such that the test environment starts up quickly.
-
Run the plugin in a new Eclipse instance.
- A launch configuration has been prepared in
config/launch-configurations
. You can import it via File > Import... > Run/Debug > Launch Configuration.
- A launch configuration has been prepared in
-
Use spaces instead tabs: Preferences > General > Editors > Text Editors > Insert spaces for tabs: true
-
Enable UTF-8 encoding: Preferences > General > Workspace > Text file encoding: UTF-8
-
You can find the code style configuration in
config/code-style
.
The Eclipse Update Site for this plugin is hosted also on GitHub. You find it in the 'updatesite' folder. The folder in the 'master' branch is for alpha versions and pre-release testing, whereas the 'release' branch contains the released versions of the plugin that are considered stable.
The plugin project contains the code for the plugin. On the other hand, the feature project (ends with '.feature') contains information to bundle and deploy the plugin as an Eclipse Update Site.