BobSilverberg
BobSilverberg

Reputation: 1305

Is there a search history in Intellij IDEA?

A feature that I used a lot in Eclipse is the Search History, which remembers searches you performed in the past and gives you quick access to them. I cannot seem to replicate this functionality in IntelliJ - it seems that I have to start a new search each time. Does this feature exist, or does anyone know of a plugin that provides such a feature?

Upvotes: 52

Views: 10270

Answers (9)

Hem
Hem

Reputation: 729

Click on the magnifying icon in the find window and you will see it. It is not intutive. I'd expect it to list the previous searches when I click on the text box window.

enter image description here

Upvotes: 2

Jacco Mol
Jacco Mol

Reputation: 133

Using Alt+down works to see previous Finds, but by default only 1 Tab is open.

Of course the setting for opening new Finds in a new Tab can be found in a slightly different place than when the first answer was posted. It can now be found by right-clicking the top bar (or the "Show options menu" gear-icon) -> View Options -> Open Results in New Tab. Open results in new tab

Upvotes: 4

Azedin derkawski
Azedin derkawski

Reputation: 57

Alt+down arrow is what you are looking for...

First press Ctrl+Shift+f and then alt+down arrow

for more info check IntelliJ website: https://www.jetbrains.com/help/idea/searching-everywhere.html#search_all

Upvotes: 4

Julian A.
Julian A.

Reputation: 11450

For recent "Find Usages", open the "Find" window (Cmd 3); click the settings button in the "Find" window toolbar; in the settings dialog check the checkbox "Open in new tab".

Upvotes: 20

jazon
jazon

Reputation: 121

Search history intellij alt up or alt down.

search history intellij alt up or alt down

Upvotes: 12

Serg Kryvonos
Serg Kryvonos

Reputation: 4677

Inside 'Find' dock press Alt+Down to see 'Recent Find Usages' dropdown.

Upvotes: 18

naren2605
naren2605

Reputation: 106

enter image description herejust when you user find by path, right corner of the search you will find the "open in find window" there you will see history as shown in the image and you can pin the search history you need . just hit the <- arrow button in the left panel of find window, you would see the history

Upvotes: 0

machinery
machinery

Reputation: 3945

I think what you're looking for is the "Open in new tab" checkbox at the bottom of the "Find in path" dialog. For me by default it was disabled. When you enable it, you will have search results open in separate tabs every time, so accessing historic searches will be much easier.

Upvotes: 32

CrazyCoder
CrazyCoder

Reputation: 401877

For in-file search there is Recent Searches drop down if you press the down arrow key, the same is available for the Find in Path dialog.

Upvotes: 9

Related Questions