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

Summary: add support for the JsDoc @lends tag
Product: javascript Reporter: lytles <lytles>
Component: DocumentationAssignee: Petr Pisl <ppisl>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 7.3   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: simple usage of JsDoc @lends tag

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.