Over a million developers have joined DZone.

Search for Anything with Search Everywhere in IntelliJ IDEA

DZone's Guide to

Search for Anything with Search Everywhere in IntelliJ IDEA

· Java Zone
Free Resource

The single app analytics solutions to take your web and mobile apps to the next level.  Try today!  Brought to you in partnership with CA Technologies

IntelliJ IDEA 13 has a new feature Search Everywhere. With this feature we can search for files, actions, classes, settings and more using a simple search dialog box. We must press the Shift button twice to get the Search Everywhere dialog.

We get a simple input field where we can start typing what we search for. For example we want to search for the file BuildConfig.groovy. We start typing the first letters of the filename and immediately we get to see some results:

The results shows a section Classes and Files with matching classes and files in our current project. If we press the Shift twice again the search results are extended with all non-project related items:

We can select the file from the search results to open it in the IntelliJ IDEA editor. We can also use the shortcut keys that are displayed after each section. For example on Mac OSX we can press Shift+Cmd+N to only search in the Files section:

Search Everywhere can also be used to search for actions. For example we want to push some files to our Github repository. We press the Shiftbutton twice and type push:

Notice besides Actions also Preferences with push are shown. We can select the Push... action from the search results to invoke the action.

Examples with IntelliJ IDEA 13.

CA App Experience Analytics, a whole new level of visibility. Learn more. Brought to you in partnership with CA Technologies.


Published at DZone with permission of Hubert Klein Ikkink, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.


Dev Resources & Solutions Straight to Your Inbox

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