senny/emacs-eclim — pull request #75 by nerton (2012-10-30 15:34:14+00:00)
Title: Quick lookup of documentation of Java elements

I implemented this one too, because it is the other basic feature (besides completion) which is very useful in everyday coding.

It requires a fairly recent eclim which has the command java_element_doc (1.7.x also supports it, I use that).

I did not assign a key for it, because it needs an easy key combo and the current C-c .. eclim keys are a too complex for that in my opinion. I use F1, but I did not add it to the official code, because it's not very emacsy, so I leave the key assignment to you. (Eclipse uses F2 for this.)

You can test it with F1 in a Java buffer with this:

(local-set-key (kbd "") 'eclim-java-show-documentation-for-current-element)

Just put the cursor on a function, class or other element and press F1.