Hi all, my name is Hubert A. Klein Ikkink. Not a very common name, right? To make things easier I just picked the first letters of my firstname and surname and came up with haki. So there you have it, now I am also known as Mr. Haki or mrhaki for short. You can read more blog postings at www.mrhaki.com. I am a passionate Groovy and Java developer based in Tilburg, The Netherlands. My goal is to write clean, elegant, user-centered and high quality software. You can find me on Google+ and Twitter. Hubert is a DZone MVB and is not an employee of DZone and has posted 160 posts at DZone. You can read more from them at their website. View Full User Profile

Quickly Change Between Changed Files in IntelliJ IDEA

03.17.2013
| 5727 views |
  • submit to reddit

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:

 

Published at DZone with permission of Hubert Klein Ikkink, author and DZone MVB. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)

Comments

Pieter van der Meer replied on Mon, 2013/03/18 - 3:20am

 There is an other one you can use to navigate between files:

ctrl-tab, shows a similar dialog.


Pieter

Aldis Blair replied on Tue, 2013/03/26 - 7:23am

Make it easy for every one: this quick change between files will save my time:)

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.