I am seeing massive problems with symbols in IDEA Ultimate 2021.1 that weren't there in 2020.3 and need help on how to narrow it down. Here is what I am seeing:
- Classes are shown as unused in the editor. Find usages does not find the usages even though there are hundreds. This seems like an indexing issue because it can be resolved by Invalidate Caches
- Symbols are shown in red because they are not found. This can be classes that are referenced by other classes. It seems to be related to moving classes between source roots of modules which seems to forget to update some internal data structures . When it happens, the code compiles and it can be fixed with closing and reopening the project.
The problem is, it does not happen every time which makes it very difficult to gather the necessary information to file a bug in YouTrack. From what I haven't seen, idea.log isn't really helpful when it happens. I know that quite a few issues related to indexing have been fixed in EAP but it seems like there are still some serious problems that have not been addressed. Is there any additional logging that could be helpful to track this down?
This basically makes it almost impossible to use 2021.1 on any serious refactoring project. Any help narrow this down to file issues is greatly appreciated. I have been using IntelliJ IDEA EAP and stable version since 2.6. The 2021.1 release is the first stable release where I am considering to go back to a previous release.