Allow one to specify package name in Goto Symbol
Hi,
I have not found it mentioned elsewhere, so I hope it's not a duplicate.
A nice feature in the Goto Symbol would be the ability
to specify one or more parts of the package name to restrict the search to those symbols found in the specifed package.
The motivation behind this feature is simple, but comes up often enough for me during the day: I need to look
up a class/classes in a third party package/jar or in my own
code base, but the name is common enough (eg. look for Exception classes - all would have Exception in the name) and
matches with similar named classes in all other classes in the project classes and associated third party packages, and sometimes the generated list is too long.
If I could specify the package to narrow down the search, the class I'm looking for would likely be in the list.
Bonny
Please sign in to leave a comment.
I know there's a request in the Tracker for this, but I couldn't find it. All I could find is this related request http://intellij.net/tracker/idea/viewSCR?publicId=30597 .
By the way, until this is fixed, here is a suggestion: when I want to open classes in unfamiliar 3rd party jars, I open a Java file and type "com.intellij.[ctrlspace]" and keep typing and autocompleting until I find the class I want, then I press CtrlB or I Ctrl+click to jump to it.
Thanks Keith,
This is exactly what I was looking for, but I could not find it before.
Cheers