Ruslan A
05/30/2022, 12:17 PMFilenameIndex.getFilesByName(project, name, moduleContentScope)
stopped working correctly.
I tried to change to
FilenameIndex.getFilesByName(project, name, getHolderModule().moduleContentScope)
and it almost works perfectly, but in one case out of 10 not working, when i try to find java file inside module.
I also tried to change getHolderModule() to getMainModule() but it did not help..
Any ideas how to find files now?
the problem only in version 2021.2 and letter