Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Undo closed tab in Eclipse?

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.

like image 301
MaoTseTongue Avatar asked Feb 11 '10 09:02

MaoTseTongue


People also ask

What is Ctrl Shift R in eclipse?

File Navigation – Eclipse Shortcuts CTRL SHIFT R – Open a resource. You need not know the path and just part of the file name is enough. CTRL E – Open a file (editor) from within the list of all open files. CTRL PAGE UP or PAGE DOWN – Navigate to previous or next file from within the list of all open files.

How do I reverse an indent in eclipse?

You can use Ctrl + Shift + F which will run your formatter on the file and fix indentations along the way also. How is this not the #1 answer?

How do I go back a function in eclipse?

Press Alt + Left Arrow and Alt + Right Arrow like you would in a web browser.

How do I show tabs in eclipse?

Check the option " General > Editors > Text Editors > Insert spaces for tabs ": if unchecked, it will display tabs, not space.


2 Answers

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

like image 139
cetnar Avatar answered Sep 28 '22 02:09

cetnar


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

like image 36
mre Avatar answered Sep 28 '22 02:09

mre