How Do I Clear Recent Searches?

Hi,

I'm having the same issue as mentioned here:

https://intellij-support.jetbrains.com/hc/en-us/community/posts/115000233824-Clear-out-Recent-Searches-in-Find-menu-?input_string=How%20Do%20I%20Clear%20Recent%20Searches%3F

This is happening in WebStorm on a Mac. I've attempted to locate the equivalent file mentioned in the thread above but with no success.

Please note that this isn't project specific and the search results show in all repos on my machine.

Could someone point me in the right direction please?

Many thanks!

0
2 comments

What IDE version do you use? as far as i can see, in 2017.2 recent  searches are stored in .idea/workspace.xml, like:

<component name="FindInProjectRecents">
    <findStrings>
      <find>...</find>
    </findStrings>

   

You can also search for find.recents.xml files (these files were created by previous versions, and 2017.2 still reads from these files)

0
Avatar
Permanently deleted user

Brilliant, that worked.

I was hoping that I'd be able to action this globally, rather than on a project-by-project basis. But it did the trick!

Many thanks

0

Please sign in to leave a comment.