112

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.

Jasper
  • 2,166
  • 4
  • 30
  • 50
MaoTseTongue
  • 1,516
  • 3
  • 24
  • 32

4 Answers4

153

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

propatience
  • 115
  • 1
  • 3
  • 9
cetnar
  • 9,357
  • 2
  • 38
  • 45
79

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 + [

mre
  • 1,813
  • 4
  • 28
  • 37
7

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.

Mike
  • 91
  • 1
  • 4
1

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.

derio
  • 952
  • 9
  • 18