Open jepsar opened 5 months ago
This lacks context. {@value }
will work on constant for me in Apache NetBeans 21
I'm on 21 as well. When I press the shortcut keys for auto completing when I have typed {@
I'm getting:
I don't know what more context you need.
How do you mean "will work on constant"? What does that have to do with code completion?
Edit: so, when you write do on a static itself, you will indeed see the option "value". I guess that is what you were referring to. However, if you want to use that constant's value in doc of a method for example, it's not offered.
looks like {@value}
is only allowed on constants while {@value foo.Bar#constant}
can be used everywhere as long it points to a constant.
https://github.com/apache/netbeans/blob/00a4a7ae25fc0e1ae1c7d6a89ffc2811f61fa3b4/java/java.editor/src/org/netbeans/modules/java/editor/javadoc/TagRegistery.java#L118 can be set to ALL_KINDS
most likely, rest will be in the javadoc error log I suppose if used wrong.
Description
When using code completing after typing
{@
in Javadoc, "value" is not in the list.Are you willing to submit a pull request?
No