This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 224729 - add support for the JsDoc @lends tag
Summary: add support for the JsDoc @lends tag
Status: NEW
Alias: None
Product: javascript
Classification: Unclassified
Component: Documentation (show other bugs)
Version: 7.3
Hardware: PC Linux
: P3 normal with 2 votes (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-10 23:03 UTC by lytles
Modified: 2014-10-06 13:06 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
simple usage of JsDoc @lends tag (1.61 KB, application/javascript)
2013-01-10 23:03 UTC, lytles
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lytles 2013-01-10 23:03:17 UTC
Created attachment 130093 [details]
simple usage of JsDoc @lends tag

"The @lends tag allows you to document all the members of an anonymous object literal as if they were members of an object with the given name"

this tag should be connected to the language model for the new javascript2
engine, enabling code completion, navigation and jsdoc popup. a simple example
of code that should be supported is attached

http://netbeans.org/bugzilla/show_bug.cgi?id=194140 is an umbrella request that
covers several tags. it should probably be closed and issues opened for each
tag-specific request (as per http://netbeans.org/bugzilla/show_bug.cgi?id=222233#c5)

if @lends support is added, it should be noted at
http://wiki.netbeans.org/JavaScript2#connected_tags
Comment 1 lytles 2013-01-10 23:29:22 UTC
http://netbeans.org/bugzilla/attachment.cgi?id=130093 includes 2 workarounds for the lack of this tag, ie directly assigning to the prototype and reusing the class name

these workarounds are relatively easy to use in real code, so i think that this issue should be lower priority than http://netbeans.org/bugzilla/show_bug.cgi?id=224727
Comment 2 Martin Fousek 2013-01-11 06:35:23 UTC
Targeting to Next release for now.