Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Quick Switch Editor in Eclipse

DZone's Guide to

Quick Switch Editor in Eclipse

· Java Zone
Free Resource

Just released, a free O’Reilly book on Reactive Microsystems: The Evolution of Microservices at Scale. Brought to you in partnership with Lightbend.

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

 

Strategies and techniques for building scalable and resilient microservices to refactor a monolithic application step-by-step, a free O'Reilly book. Brought to you in partnership with Lightbend.

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 }}