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

Switching Source Files in the Eclipse Editor (CTRL+TAB)

DZone's Guide to

Switching Source Files in the Eclipse Editor (CTRL+TAB)

· Java Zone
Free Resource

Try Okta to add social login, MFA, and OpenID Connect support to your Java app in minutes. Create a free developer account today and never build auth again.

Ever wondering what could be a keyboard shortcut for something in Eclipse? In my post on 10 Best Eclipse Shortcuts the question came up how to traverse through all the open files in the editor. Finding a shortcut is easy if you know the The Mother of all Eclipse Shortcuts :-) . I press CTRL+3 and enter a search term like ‘switch’, and it shows me all shortcuts with ‘switch’ in the description:

CTRL plus 3 shows all shortcuts

CTRL plus 3 shows all shortcuts

So with this I know that CTRL+TAB is to switch to the next editor. Let’s try it out:

CTRL+TAB Popup Window

CTRL+TAB Popup Window

A small pop-up window shows all open sources of the Editor View: Pressing CTRL+TAB repeatedly will iterate through the source files. That way I can quickly switch to another source file without leaving my fingers from the keyboard.

Happy Switching :-)

Build and launch faster with Okta’s user management API. Register today for the free forever developer edition!

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