Over a million developers have joined DZone.
Platinum Partner

Quickly Change Between Changed Files in IntelliJ IDEA

· Java Zone

The Java Zone is brought to you in partnership with AppDynamics. Discover how AppDynamics steps in to upgrade your performance game and prevent your enterprise from these top 10 Java performance problems.

When we develop an application we usually work on multiple files at the same time. With IntelliJ IDEA it is easy to switch between changed files in the IDE. Notice we are switching between changed files, which is very useful to find those files we were editing even if we opened other files just for viewing. With the shortcut key combination Shift + Cmd + E (Shift + Ctrl + E for Windows/Linux) we get a dialog with a list of the files that are changed most recently:

We can select a file and press Enter to open it. We can even type a part of the name of a file and the list will only show files that match what we have typed:

If files with the same name are in the list we can select the file and see at the bottom right the directory, so we can still distinguish between the files even though they have the same name.

If we want to see the recently opened files we can use the shortcut key combination Cmd + E (Ctrl + E for Windows/Linux). IntelliJ IDEA opens a new dialog with two columns. The left column shows tool window names and on the right we see files. We can select a tool window name or file name to open it:

In this dialog window we can also start typing to shorten the list:


The Java Zone is brought to you in partnership with AppDynamics. AppDynamics helps you gain the fundamentals behind application performance, and implement best practices so you can proactively analyze and act on performance problems as they arise, and more specifically with your Java applications. Start a Free Trial.


Published at DZone with permission of Hubert Klein Ikkink , DZone MVB .

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}