| Author |
context-sensitive help in eclipse?
|
Clifford Adams
Ranch Hand
Joined: May 12, 2004
Posts: 50
|
|
Is there a way to get context-sensitive help in eclipse. In Delphi, if I place my cursor in a type and hit F1, I get help specific to that type of object. In eclipse, I get generic, 'how to use the editor' type help. Any way to place my cursor on a java.util.List, hit a key and get the api javadoc for java.util.list? thanks
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26496
|
|
Clifford, If you mouse over the java.util.List, you get a JavaDoc snippet. Also, shift-F2 opens the API in the Eclipse help window if available. [edited to fix typo] [ November 08, 2004: Message edited by: Jeanne Boyarsky ]
|
[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
|
 |
Clifford Adams
Ranch Hand
Joined: May 12, 2004
Posts: 50
|
|
actually, all I get is a yellow box with 'java.util.List' in it. Nothing else. [ November 08, 2004: Message edited by: Clifford Adams ]
|
 |
Fisher Daniel
Ranch Hand
Joined: Sep 14, 2001
Posts: 582
|
|
Hi Clifford, And after I set up my javadoc directory in my project properties, I can use Shift-F2 to open new help window. Hope this helps thanks daniel [edited to remove possibly offensive typo] [ November 09, 2004: Message edited by: Jeanne Boyarsky ]
|
 |
Clifford Adams
Ranch Hand
Joined: May 12, 2004
Posts: 50
|
|
Thanks for the responses. OK, I have this partially figured out. By going into window->preferences and adding the javadoc to the jre config, I now get more info on core java objects. However, I can't seem to get the same behavior for struts and hibernate objects. I've added the javadoc location for hibernate2.jar and struts.jar, but I still only get a small box with 'net.sf.hibernate.SessionFactory' in it. I did just find out that hitting Shift-F2 opens the javadoc in my browser. That's nice.
|
 |
 |
|
|
subject: context-sensitive help in eclipse?
|
|
|