Small issues with "Find" in WebStorm

Using latest EAP of WebStorm: there are several small issues with the Find feature: When I press Ctrl+F it jumps to the find dialog, but when I press it again accidentaly select box of previous strings is shown, but I can't write new string in this situation. Also how to delete the list of previously entered strings? I entered accidentaly one really long one and now when I press twice Ctrl+F half of the application screen is hidden beneath the "old searched strings" dialog. Thanks for any help :)

3 comments
Comment actions Permalink
Using latest EAP of WebStorm: there are several small issues with the Find feature: When I press Ctrl+F it jumps to the find dialog, but when I press it again accidentaly select box of previous strings is shown, but I can't write new string in this situation.

That is exactly how it works:
*) 1st Ctrl+F will activate Quick Search panel
*) When you press Ctrl+F for the 2nd time while Quick Search panel is still active (focused), it will activate Search History action (the icon next to search field) which has the same Ctrl+F as a shortcut.

Also how to delete the list of previously entered strings? I entered accidentaly one really long one and now when I press twice Ctrl+F half of the application screen is hidden beneath the "old searched strings" dialog.

TBH I do not know any shortcuts for this -- the only way known to me is to manually delete entries in .WebIde10\config\options\other.xml file (search for <option name="RECENT_FIND_STRINGS">) -- but be careful with editing (do not forget to make a backup of this file or whole profile in advance -- just in case).

0
Comment actions Permalink

Adding some context menu action like "clear recent list" would be nice. It will be also great to have the ability to write new search query when browsing the dialog with old queries, imho.

Also another related idea, should it be possible to change the behavior of Find usages to similar behavior as in Visual Studio? I like the idea of just clicking FInd usages on a string and seeing tab with results, without the middle step with "select target" dialog.

0
Comment actions Permalink
Adding some context menu action like "clear recent list" would be nice.

Would be useful to have such option indeed.

It will be also great to have the ability to write new search query when browsing the dialog with old queries, imho.

Taking into consideration how it is implemented right now I do not think it is possible to quickly implement this (the history list has to be implemented differently -- something like MRU lists works in MS Windows).

In any way -- feel free to leave your feature requests on Issue Tracker: http://youtrack.jetbrains.net/issues/WI#newissue=yes

Also another related idea, should it be possible to change the behavior of Find usages to similar behavior as in Visual Studio? I like the idea of just clicking FInd usages on a string and seeing tab with results, without the middle step with "select target" dialog.

I personally like current approach (I do not mind to press one more button, as long as it is not 2 or 3 more buttons) -- it gives you more control over search scope (which can be very important on BIG projects).

0

Please sign in to leave a comment.