Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WebStorm: search does not work

I know that is used to search : Ctrl+Shift+F or Edit | Find | Find in Path and it worked before, but now always returns the empty set, although I know that what I'm looking for - there is in the project

Maybe someone had this problem?

like image 346
Lola Avatar asked Oct 14 '22 07:10

Lola


People also ask

How do you search on WebStorm?

Find the search string in a projectPress Ctrl+Shift+F or select Edit | Find | Find in Files from the main menu. In the search field, type your search string. Alternatively, in the editor, highlight the string you want to find and press Ctrl+Shift+F . WebStorm places the highlighted string into the search field.

Why search is not working in IntelliJ?

As lena said, the following should fix it for you: Click File -> Invalidate Caches / Restart.. Click the button "Invalidate and Restart" After restart, try run the search again.

How do I enable search in IntelliJ?

Search for settings and pluginsPress Shift twice to open the search window and type / . IntelliJ IDEA lists the available groups of settings. Select the one you need and press Enter . As a result, IntelliJ IDEA gives you a quick access to the selected setting and its options.


2 Answers

As lena said, the following should fix it for you:

  1. Click File -> Invalidate Caches / Restart..
  2. Click the button "Invalidate and Restart"
  3. After restart, try run the search again
like image 374
nbaosullivan Avatar answered Oct 16 '22 23:10

nbaosullivan


For me nbaosullivan's proposed solution didn't work.

In my case Recursive(Alt+Y) options wasn't selected. I selected it and it worked and it will be set as default, you don't need to select it all the time.

See that icon and select it please

like image 25
Shahzaib Hayat Khan Avatar answered Oct 16 '22 23:10

Shahzaib Hayat Khan