IntelliJ IDEA: Find in files is not finding all the occurrences
Asked Answered
A

2

5

With IntelliJ 2021.1, I have noticed the search of files or words across a project is a bit flakey.

So if you paste a word to search with cmd + shift + f, it struggles to find all the words, and if you enter it from beginning it is better but still problematic. Even double shift is struggling to find files.

I didn't notice such issues with previous version.

Adara answered 9/4, 2021 at 16:48 Comment(0)
I
10

It's a known bug.

Please add -Didea.indexes.clear.non.indexable.file.data=false into Help | Edit Custom VM Options and invoke File | Invalidate Caches/Restart.. | Invalidate and Restart action as a workaround.

Indisposed answered 9/4, 2021 at 17:34 Comment(0)
T
1

if you get here in 2024, this may be caused by IntelliJ not indexing the project correctly. deleting the .idea folder and restarting the IDE worked for me. see IntelliJ does not show project folders

Tell answered 28/10 at 10:23 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.