问题
I am using Intellij IDEA 14 Ultimate. When I search find usages, in find view there is a info like
Searching for usages in project files" and doesn't return any result. Scope is "whole project".
I have also IntelliJ 14 Community Edition. When it try find usages in community edition, it works.
Do you have any idea?
回答1:
I had exactly the same problem, so for people looking for the quick answer, try
File
-> Invalidate Caches / Restart
Thanks to user @yole and his comment.
回答2:
If it doesn't solve by File -> Invalidate Caches / Restart
then make sure your 'src' folder is marked as 'Sources' in project structure.
来源:https://stackoverflow.com/questions/27634694/intellij-ultimate-14-find-usages-not-working