I created a new FileType and also added references to Java classes for certain ranges.
When running a usage search, I'd like to show those usages too.
The usage looks like this:
The PsiReference exists for the foo.bar.Baz part.
Unfortunately I am not able to get any hits with the PsiSearchHelper.
You can see my attempts here:
I tried the following methods with both fully qualified name and just the name:
The GlobalSearchScopes I tried:
- GlobalSearchScope.fileScope (with the file containing the reference)
I do believe that some other problem must be involved? Maybe the file is simply not indexed?
Any guidance would be much appreciated.