Over a million developers have joined DZone.

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

· Java Zone

Learn more about how the Java language, tools and frameworks have been the foundation of countless enterprise systems, brought to you in partnership with Salesforce.

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

Discover how the Force.com Web Services Connector (WSC) is a code-generation tool and runtime library for use with Force.com Web services, brought to you in partnership with Salesforce.


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

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}