Any one of the following should work:
1) search by context: place the cursor on the method declaration name
'dooSomething' in TestClass.java and run (this will return the
declaration and the references)
:JavaSearchContext
2) search by element: place the cursor on the method declaration name
'dooSomething' in TestClass.java, or on any reference to that
method, and run
:JavaSearch -x references
3) search by pattern
:JavaSearch -x references -t method -p TestClass.dooSomething
--
eric
You should be able to supply the fully qualified class name. Here is
an example against the eclim sources:
:JavaSearch -t method -x references -p org.eclim.Services.getCommand
--
eric
Yeah for search results I usually use the javadoc style format which
separates the class and method via a '#' since I find it easier to
quickly differentiate method results from class results.
I assume your the same senny that is working on the emacs client for
eclim[1]? I stumbled on the github project a couple weeks ago, which
was a pleasant surprise. If you run into any road blocks please let
me know. I went back over the mail you've sent and you've requested
some features, which are on my todo list, but if any of those, or any
future requests are impeding your progress, please let me know so I
can prioritize then accordingly.
Just an FYI, I've added a couple links to your github project to the
eclim docs which will go out with the next release of eclim.
[1] http://github.com/senny/emacs-eclim
--
eric