At 06:00 PM 4/26/00 +0200, you wrote:
>Hi there,
>
>It looks like (my copy of) JDE only supports looking up the front page
>of javadocs, and not a particular class. That's a feature that I
>really need, so I wrote a function to look it up. Attached incase its
>useful to JDE.
>
>I haven't used JDE in a while, apologies if this is redundant.
>
>Cheers,
>Luke
>
>;; setq this to something suitable for you. Trailing / is needed.
>(defvar javadocs-base-path "file:/usr/local/jdk1.2.2-sun-rc/docs/api/")
>
>(defun class-javadoc (class)
> "Load the javadocs for a particular class in a web-browser."
> (interactive "sClass name: ")
> (browse-url (classname-to-path class) browse-url-new-window-p))
>
>(defun classname-to-path (class)
> (concat javadocs-base-path
> (string-replace-match "\\." class "/" t t)
> ".html"))
>
Hi Luke,
In the latest beta, you can get the javadoc page for the class (or the
instance or method or field of the class) at point by selecting
JDE->Help->Symbol at Point (C-c C-v C-w). The command determines the
package of the class before looking up the doc. If the class name is found
in more than one package, the command prompts you to choose a version. The
command works for any class on the jde-global-classpath of your project for
which javadoc exists. This means that it can work for classes that you have
created (and documented) as well as for JDK classes. Type C-h f
jde-help-symbol for more information.
- Paul
------------------------------------------------------------
TECH SUPPORT POLICY
I respond only to requests that contain a complete problem report. The
easiest way to ensure that your report is complete is to include the output
of the JDE->Help->Submit Problem Report command in your request.
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
JDE website: http://sunsite.auc.dk/jde/
JDE mailing list archive:
http://www.mail-archive.com/[email protected]/maillist.html