Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse Juno maximize splitscreen

Yesterday, I downloaded Eclipse Juno and it's pretty nice. Somehow I'm not able to maximize a split screen that shows two Java files. Just one of the two Java files are maximized at the same time.

Sure, I could manually close the Package Explorer, Outline View and so on, but this is pretty tedious. How do I maximize both files in the split view? It used to be Ctrl + m. Thank you.

Edit:

Apparently, there two different ways to split the screen. I still haven't figured out the difference while I'm splitting the screen.

maximizes both files

maximizes just one

like image 497
kon Avatar asked Jul 16 '12 11:07

kon


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).


2 Answers

The way the editor area will be split depends on how far you drag the the upper tab, notice the position of the hand cursor in the screenshots below:

If you drag it halfway, it will be split so you can maximize both at once.

enter image description here

If you drag it a little more to the right edge, the editor area will be split so you can only maximize one at a time.

enter image description here

like image 126
Daniel Serodio Avatar answered Oct 27 '22 22:10

Daniel Serodio


This new behavior inspired the following Eclipse bug report:

New split screen dragging UI/maximize pane options is as clear as mud

So I appreciate the likely well intentioned UI developments, but apparently many of us are puzzled by the change in how editors are now split and maximized:

Eclipse Juno maximize splitscreen

It seems the user experience was not really well thought through with respect to these changes.

Might I suggest that this interface be rethought? I'd start by dumping the drag-to-define whether or not panes should be maximized individually or with their neighbors interface. First, the instance of a user splitting an editor in two is the wrong time to be "asking" the user whether or not to maintain both views if he or she decides to maximize the editor someday. To top it off, the visual indication of the user's decision about this is confusing at best.

Instead, I propose that you dump the varying green line interface and instead shift the decision to the time when it actually matters--that is, when the user decides to maximize the editor. Maybe the following would work better:

There should be a small "editor maximize" button in the upper right corner of the "complete" editor pane. This would always maximize all panes in the editor. There should always be a maximize/minimize pair on each editor split as well that would maximize/minimize that particular split.

like image 42
Jeff Axelrod Avatar answered Oct 27 '22 21:10

Jeff Axelrod