IntelliJ Ultimate 14 find usages not working

不羁的心 提交于 2019-12-18 13:52:48

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!