Having an custom language with references to java-classes.
References to fields work fine: Ctrl-B, Rename, Find Usages, ...
References to methods: Ctrl-B works; Rename, FindUsages not.
This drove me crazy until I found out that
FindUsagesProvider.mayHaveReferences is called with:
- searchContext=11 for fields (includes foreign languages)
- searchContext=3 for methods (just code)
Ist this simply an bug or an wanted behaviour? (Build #3431)