Undo closed tab in Eclipse?

EclipseKeyboard ShortcutsEclipse Pdt

Eclipse Problem Overview


I was wondering if it were possible in Eclipse PDT to reopen a closed tab by mistake.

For example in Firefox I can do Ctrl + Shift + T.

Eclipse Solutions


Solution 1 - Eclipse

Try Alt + left arrow that will go backward in history - if tab is closed it will reopen it.

Solution 2 - Eclipse

Yes it's possible. Close a tab and hit the left yellow arrow in the Eclipse menu bar above. You can adjust the keyboard shortcut for that in the eclipse preferences under General > Keys.

On Mac it's āŒ˜ + [

Solution 3 - Eclipse

Navigating back through the edit history does work sometimes, but not if you close the tab without actually activating it. You can also try Alt + F to access the file menu then hit a number to access the appropriate file in the recent file list.

Solution 4 - Eclipse

You may also find the Extended VMM Presentation plugin useful. Among others, it provides a list of the last several closed tabs.

Keep in mind that so far it does not seem to work with the new Eclipse Juno.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionMaoTseTongueView Question on Stackoverflow
Solution 1 - EclipsecetnarView Answer on Stackoverflow
Solution 2 - EclipsemreView Answer on Stackoverflow
Solution 3 - EclipseMikeView Answer on Stackoverflow
Solution 4 - EclipsederioView Answer on Stackoverflow