Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse recent files

Tags:

java

eclipse

Is there any list of recently opened files in eclipse?

If yes then is there also any shortcut for it?

Frequently I close classes in editor because there are too many of them opened. But in a few minutes I need them again. Maybe you solve this problem differently?

Thanks!

like image 329
Andrey Minogin Avatar asked Feb 25 '11 10:02

Andrey Minogin


People also ask

Where are files created in Eclipse?

Whenever you make a project inside of Eclipse, Eclipse will auto-magically create a new folder in your workspace with the same name. Inside of that folder it will create two folders: bin, and src (source). The bin folder can be ignored. This is nothing more than the folder in which Eclipse stores the .

How do I open all files in eclipse?

Press Ctrl + A to select all files. Click on open button.

How do I show files left in eclipse?

By default, you might be in the "Java Perspective". From there, you can "window, Show View" 1) Navigator, 2) Project Explorer and/or 3) Package Explorer. From any of these panes, you can click the left arrow to "drill down" for more detail.

How do you close a file in eclipse?

To do this, just right-click on the project to which you have an opened file. the click on close project.


2 Answers

  • Probably your best option is to use "Quick Switch Editor" (Ctrl+E) but it displays the opened files only. There you have quick list along with filtering by starting to type first chars of file name. To make it useful, you may increase the size of opened files/windows before closing - Window->Preferences->General->Editors->Number of opened editors before closing. After you reach this threshold the oldest file open is closed in order to make room for newly open one.

  • The list of the files recently opened is displayed in File menu, just before the Exit menu option. There you'll find the already open and last closed files. If you want to use it extensively then you should probably increase the size of the items - Window->Preferences->General->Editors->Size of recently opened files list. You can quickly invoke one of last 9 filed with Alt+F,[Digit].

  • A drawback of third option "Open Resource" (Ctrl+Shift+R) is that the default list looks sorted, so it is not based on the most recent date of use. Also "Open Type" (Ctrl+Shift+T) has a long listing over time and you should enter part of the name to get a shorter match.

My initial comment is based on Eclipse 4.3 Kepler and is applicable to current latest Eclipse (4.5 Mars) too.

like image 180
5 revs, 3 users 72% Avatar answered Sep 21 '22 12:09

5 revs, 3 users 72%


If you click on the File menu, you would see the list of recently used files. By default there are four of them. To increase the no, goto Window-> Preferences-> General -> Editors. You can set to as many as 15

like image 35
Yanki Twizzy Avatar answered Sep 22 '22 12:09

Yanki Twizzy