Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Question about showing tooltips of comment of my own method?(tooltip comment annotation)
Question about showing tooltips of comment of my own method? [message #781343] Sat, 21 January 2012 01:57 Go to next message
Jeffrey Chen is currently offline Jeffrey ChenFriend
Messages: 2
Registered: January 2012
Junior Member
I wrote this method with comments on it:
	/*
	 * This method ...
	 * @param a the ...
	 * @return number
	 */
	public int abc (int a) {...}


In my other class, I want to be able to see those javadoc as a hint, like the @param, @return. How do I do that? The java library's doc works fine, but how do I get the ones I wrote working?

Thanks.
Re: Question about showing tooltips of comment of my own method? [message #781408 is a reply to message #781343] Sat, 21 January 2012 06:22 Go to previous messageGo to next message
Deepak Azad is currently offline Deepak AzadFriend
Messages: 543
Registered: July 2009
Senior Member
That should be working out of the box. Have you created a jar library
out of some of the code that you have written?

--
Deepak Azad
http://wiki.eclipse.org/JDT/FAQ
Re: Question about showing tooltips of comment of my own method? [message #781775 is a reply to message #781408] Sun, 22 January 2012 08:13 Go to previous messageGo to next message
Jeffrey Chen is currently offline Jeffrey ChenFriend
Messages: 2
Registered: January 2012
Junior Member
No, I haven't created any jar about the classes I wrote. Is that the reason? How do I do that?

Thanks.
Re: Question about showing tooltips of comment of my own method? [message #782068 is a reply to message #781775] Mon, 23 January 2012 04:40 Go to previous message
Satyam Kandula is currently offline Satyam KandulaFriend
Messages: 444
Registered: July 2009
Senior Member
Javadoc's start with /** and not with /*.
Previous Topic:Which Eclipse Package is compatible with Crystal 3.5 on Win 64-bit
Next Topic:eclipse takes OS language as default - how to disable?
Goto Forum:
  


Current Time: Thu Apr 18 23:51:17 GMT 2024

Powered by FUDForum. Page generated in 0.04416 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top