Bug 104666 - [javadoc codeassist] does not recognise @value tag
Summary: [javadoc codeassist] does not recognise @value tag
Status: RESOLVED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2005-07-21 10:34 EDT by Gregor Rosenauer CLA
Modified: 2009-08-30 02:07 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gregor Rosenauer CLA 2005-07-21 10:34:45 EDT
The javadoc-assistant does not recognize the javadoc 1.4-tag '@value', but
instead accepts '@val', which is not a known javadoc-tag.

It would be good if the tag was automatically inserted when Javadoc is
autogenerated for static member fields, similar to other tags (like @see for
inherited methods) (I mean the autogeneration that is triggered when inserting
"/**" and pressing Enter).

Related to bug #72139
Comment 1 Chris Lott CLA 2005-08-08 09:17:49 EDT
I just noticed this problem in ver 3.1 also, and would like to second this
request.  It may be worth mentioning, although it's a tiny nit, that Javadoc
version 1.4 only recognizes this tag if it's written as {@value}.  In other
words, curly braces seem to be required around it.
Comment 2 Dirk Baeumer CLA 2005-08-08 10:07:23 EDT
Martin, can you please comment.
Comment 3 Martin Aeschlimann CLA 2005-08-09 05:51:47 EDT
I can't reproduce the problem with code assist for 'val'. I always get @value.

I see the request for an autogenerated comment containing value. We're
hesitating a bit to add more and more code templates. You can always create your
own editor template and insert it using content assist.

Chris, you're right. Curely barces are required here. Content assist could be
improved to only allow the tag after curly braces.
Comment 4 Martin Aeschlimann CLA 2005-10-08 12:55:42 EDT
Need more details. I can't reproduce the problem with code assist for 'val'
Comment 5 Denis Roy CLA 2009-08-30 02:07:00 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.