Find Usage used to offer search on the "Project Files" and "Project Files and libraries" now the second option often is missing is this by design or something is wrong?
It is a bug. I just ran into it a few minutes ago. I had 2 projects open. In one, it had the option of project files and libraries. The other editor window did not have that option. I checked idea.log, but did not see an exception.
At this time I do not see it. I hit ctrl-shift-F and it was listed under custom. I ran a search and came back and it was stil not in the box.
As far as I remember, the offered scope depends on the specific element on which you invoke Find Usages. For example, a private method cannot be used from library code, so we don't offer the "project and libraries" scope for that.
Find Usage used to offer search on the "Project Files" and "Project Files and libraries" now the second option often is missing is this by design or something is wrong?
-- Dmitry Jemerov Development Lead JetBrains, Inc. http://www.jetbrains.com/ "Develop with Pleasure!"
It is a bug. I just ran into it a few minutes ago. I had 2 projects open. In one, it had the option of project files and libraries. The other editor window did not have that option. I checked idea.log, but did not see an exception.
At this time I do not see it. I hit ctrl-shift-F and it was listed under custom. I ran a search and came back and it was stil not in the box.
Hello Vladimir,
As far as I remember, the offered scope depends on the specific element on
which you invoke Find Usages. For example, a private method cannot be used
from library code, so we don't offer the "project and libraries" scope for
that.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Makes sense for private variables, I just tried on a public abstract class and still no project libraries in the dropdown list