File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

context-sensitive help in eclipse?

 
Clifford Adams
Ranch Hand
Posts: 50
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
author & internet detective
Marshal
Posts: 33671
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Clifford Adams
Ranch Hand
Posts: 50
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 582
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 50
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic