Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

When opening java files in Eclipse Juno, the editor seems to be minimised or hidden

I've installed Eclipse Juno SR1 and switched to my old workspace. When I open a java file in the editor, it seems to be minimized (or hidden). The titlebar shows the current file and the outline displays all methods.

This is much as described in the Eclipse Invisible Editor, however, the suggested solution 'Window > Reset Perspective' does not work for me.

Any ideas on how I can get the editor back in the window?

I have the same problem with previous version of Eclipse Juno (not SR1).

like image 799
Mikael Johansson Avatar asked Oct 01 '12 08:10

Mikael Johansson


People also ask

How do I find editor in Eclipse?

Tip. You can set which Eclipse editor or external program to use to open a specific type of file based on its file extension. Just select Window→ Preferences→ Workbench→ File Associations, select the file type, and associate an editor or program with it (if nothing else, you can use Eclipse's default text editor).

Where does Eclipse save the files?

The bin folder can be ignored. This is nothing more than the folder in which Eclipse stores the . class files generated by compiling your code (which it does automatically; see compiling). The source folder is where all of your Java files will be saved.

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. then simply double-click on it or right-click and open project again.


2 Answers

"Windows" -> "New Window" seems to bring back the invisible editor view. Then just close the old one and restart eclipse to make sure it "remembers" the configuration.

like image 99
Brill Pappin Avatar answered Sep 28 '22 11:09

Brill Pappin


Try Window > Reset Perspective to get things back to normal.

like image 20
asad raza Avatar answered Sep 28 '22 09:09

asad raza