Menu

How To Locate an Open File in the Project View in Intellij Idea

I’ve been lookin for this keyboard shortcut for ages; in Visual Studio it’s “Show in Solution Explorer” – Ctrl+Alt+L, in Eclipse it’s “Show In” – Alt+Shift+w (Alt+W) but I couldn’t work out what it was in Intellij Idea.

It should allow you to find the file you’re currently editing in the project view and as soon as a project gets at all big it’s essential.

Turns out it’s a terminology thing – it’s called “Select current file or symbol in any view” and the shortcut is:

Alt+F1

It will locate a file in a number of different windows, similar to Eclipse, but the one I need most is the project window and Alt+F1 then Enter does the job.