Over a million developers have joined DZone.

Quick Switch Editor in Eclipse

· Java Zone

Check out this 8-step guide to see how you can increase your productivity by skipping slow application redeploys and by implementing application profiling, as you code! Brought to you in partnership with ZeroTurnaround.

Probably I need to add 3rd monitor to my laptop system, or maybe I’m not organized enough. But as a matter of fact: I want to have as many source files as possible open in Eclipse. But there is simply not enough screen real estate to show them all:

Many source files open

Many source files open

With that many source files open, I need an effective way to switch between the files.

So far I used Ctrl+Tab to iterate through the files:

Ctrl+Tab Pop-Up

Ctrl+Tab Pop-Up

With this I can ‘tab’ through the open source files. But this not efficient for a large list of files.

A better way is to use Ctrl+E: This opens a similar pop-up window:

Ctrl+E Pop-Up

Ctrl+E Pop-Up

Here I can use a filter to find my file I want to switch to:

Filter with Ctr+E

Filter with Ctr+E

Best of all: I do not need a mouse or any click: I can keep my hands on the keyboard :-) .

In case Ctrl+E does not work for your Eclipse distribution: the shortcut is configured in the preferences:

Quick Switch Editor Shortcut Configuration

Quick Switch Editor Shortcut Configuration

Happy Switching :-)

 

The Java Zone is brought to you in partnership with ZeroTurnaround. Check out this 8-step guide to see how you can increase your productivity by skipping slow application redeploys and by implementing application profiling, as you code!

Topics:

Published at DZone with permission of Erich Styger, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}