Erich is Professor at Lucerne University of Applied Sciences and Arts and Distinguished Member of Technical Staff at Freescale Semiconductor. Erich has a MsCS degree and 18+ years of experience in the embedded software and tools world. He created many embedded cross C/C++ compilers and debuggers. Additionally he is researching in the domain of programming languages, real time and mechatronic systems. Erich is a DZone MVB and is not an employee of DZone and has posted 47 posts at DZone. You can read more from them at their website. View Full User Profile

Maximize Eclipse Views

08.12.2012
| 2540 views |
  • submit to reddit

As outlined in my earlier post about hiding the toolbar: it is important to me that I have a flexible way to use my screen real estate. There is another thing I need frequently: I’m using a small Eclipse window like this one:

Eclipse Perspective

Eclipse Perspective

I want to edit my source files, but all the other views are using space as well. Yes, I need them accessible too, but not now where my focus is the source file in the middle.

Well, I can easily arrange the other views, make them smaller and so on, But then I have to undo that later on to get my original layout.

There is something simple and better: I simply double-click on the tab of the view :-) Alternatively I could use the context menu too, but double clicking is much faster an easier:

Maximize Context Menu

Maximize Context Menu

That maximizes that view so I have my screen real estate pretty much dedicated only to this view:

Maximized Editor View

Maximized Editor View

To restore it back to the normal size, I double-click again on the view tab. Alternatively I could the ‘Minimize’ context menu in the view tab or use the ‘Restore’ button here:

Restore Views Button

Restore Views Button

That trick does not only work for the editor view, but for any other view in Eclipse. That way I can switch between all the views with focus on what is important.

Published at DZone with permission of Erich Styger, author and DZone MVB. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)

Comments

Mateus Dubiela ... replied on Wed, 2012/08/15 - 8:05pm

You can also use <CTRL>+M in a view to maximize it.

Erich Styger replied on Sat, 2012/08/18 - 2:57pm in response to: Mateus Dubiela Oliveira

Thanks, that's indeed a very good shortcut!

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.