facebook

Context sensitive help (access to JavaDocs)

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #200511 Reply

    Maybe a stupid question:

    Is there any way to include JavaDocs / context sensitive help into MyEclipse? Suppose I am writing a servlet. Cursor is positioned over the response.getBufferSize() method. I want to see the description of the method (as e.g. in Visual Studio with MSDN content).

    Any idea?
    Your help is greatly appreciated.

    Ralf

    #200529 Reply

    Scott Anderson
    Participant

    Ralf,

    Context sensitive help is available in the Java editor. It’s standard Eclipse functionality. When you “fly-over” method calls and pause with the mouse for a second or so you should see the Javadoc come up in a little window. Is this not what you’re experiencing?

    –Scott
    MyEclipse Support

    #200536 Reply

    I’ll give it a try and keep you posted.
    Question: Will it also be available in the MyEclipse .jsp-Editor?

    #200537 Reply

    I did a simple test today:

    “Hovered over” a System.out.println method in a .java file. A little window popped up with the (correct) method signature and a “Press F2 to for focus…” message. I pressed F2, the window resized but remained empty. So no JavaDocs got displayed.

    Do I possibly

    – have to activate them
    – have to install them

    Any hint on how I can achieve it? And still the question remains: I’d appreciate the same behavior within the MyEclipse .jsp code editor.

    Your help is greatly appreciated.

    #200584 Reply

    Scott Anderson
    Participant

    Ah. I think I may have it. For the JavaDocs to be associated for System.out.println, you need to tell Eclipse where the library javadocs are. If you go to the package explorer and expand the entry for your JDK library set you’ll see rt.jar listed. Right-click and select properties and you’ll see that you can enter a url to the java docs, as well as a source archive location. You might want to have a local copy of them so you don’t pull them off the web all the time.

    –Scott
    MyEclipse Support

    #232769 Reply

    garand
    Member

    I’m also interested to know if context help is possible inside myEclipse with the JSP editor…

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Context sensitive help (access to JavaDocs)

You must be logged in to post in the forum log in