- This topic has 5 replies, 3 voices, and was last updated 19 years, 5 months ago by garand.
-
AuthorPosts
-
Ralf RottmannMemberMaybe 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
Scott AndersonParticipantRalf,
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
Ralf RottmannMemberI’ll give it a try and keep you posted.
Question: Will it also be available in the MyEclipse .jsp-Editor?
Ralf RottmannMemberI 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 themAny 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.
Scott AndersonParticipantAh. 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
garandMemberI’m also interested to know if context help is possible inside myEclipse with the JSP editor…
-
AuthorPosts