Hello. after updating to 2021.2 ```FilenameIndex.g...
# intellij-plugins
r
Hello. after updating to 2021.2
Copy code
FilenameIndex.getFilesByName(project, name, moduleContentScope)
stopped working correctly. I tried to change to
Copy code
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