Having trouble dealing with multiple files in Find in Path
I'm new to this new way of doing Find in Path, I get multiple file search results but I don't know how to go back to the results window to view or edit or open other files, I have to do the search again and it's frustrating and time-consuming.
Can someone advise how this is supposed to be convenient?
Please sign in to leave a comment.
Hi there,
There is a button at the bottom right ("Open in Find Window" -- Ctrl+Enter is default shortcut) -- it will list ALL results in standard Search Results tool window (Find in Path shows only top 100 results in its preview area).
There's no "Open in Find Window" at the bottom right:
Ctrl+Enter does nothing on my Mac.
You are checking in the wrong place... Maybe on Mac that button is located on left side ... not sure... but that button is inside the "Find in Path" popup.
OK I just happened to notice that button after I posted while the Find in Path window was open since it wasn't clear that's what you meant and I had that window closed.
I did try that button, and it did pin it to the bottom part of the editor (which is nice but missing some features of the floating window), but now I notice that still every time I do a Find in Path or Replace in Path, the floating window appears again, and if I do a Replace in Path then replace all, when I'm finished, instead of closing the window opens in the bottom tab again...
So, this seems to kind of solve one inconvenience but creates another... I just want an easy way to open/close/flip back/out of the Find/Replace in Path window(s)... it's very inconvenient and cumbersome at the moment, maybe there is a shortkey to show/hide or open/close???
I'm used to Alt+Tab in Windows or Shift+Tab in Chrome; PHPStorm has this odd Find/Replace sub-window that I'm having a difficult time mastering, and I'm used to the old PHPStorm 8-10 which I remember behaved a little more sanely.
Also if the Find/Replace in Path window is opened and maximized, I'm seeing no button or shortkey to close or hide the window... it's a bit terrifying really.
>maybe there is a shortkey to show/hide or open/close???
I'm not aware of that.
When I need to make multiple manual edits with found text ... I just list them in tool window using that button .. and just proceed from there (may use this shortcut to jump between editor and last tool window -- "Window | Active Tool Window | Jump To Last Tool Window" -- F12).
This is the same process as it was in the past (when there was no preview area and you had to click the button to get search results).
>Also if the Find/Replace in Path window is opened and maximized, I'm seeing no button or shortkey to close or hide the window... it's a bit terrifying really.
You have resized it manually, right? Because I do not see any "maximize" buttons on "Find in Path" (see my screenshot) -- maximum is a Pin button.
But pressing Esc should close it (does here on Windows 10)
>and I'm used to the old PHPStorm 8-10 which I remember behaved a little more sanely.
Maybe I'm using it differently to you/others .. but as for me I do not see much difference between now and then (I'm referring to listing results in tool window).
If you wish -- you may restore old Find in Path (but it's possible that it may miss some new features):
You will get modal window (PhpStorm v10 or so -- where Preview was in a separate tab and you had to click "Find" to get the results).
>but now I notice that still every time I do a Find in Path or Replace in Path, the floating window appears again, and if I do a Replace in Path then replace all, when I'm finished, instead of closing the window opens in the bottom tab again...
Not sure what you mean here. Possibly I'm missing some nuance or something.
I mean -- If I need to make "Replace in Path" .. I always list matches into tool window to see all matches first ... and only then hit "Replace" button there. That seems to do OK for me.
Maybe I'm just not paying enough attention to some inconsistencies about how window is opening .. or using it a bit differently. Not sure. But I do remember seeing one ticket about weird behaviour of Replace All in certain scenario. Try checking it here https://youtrack.jetbrains.com/issues/IDEA?q=%23{Find, Replace, Find Usages}