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 228186 - Using array of types in JSDoc
Summary: Using array of types in JSDoc
Status: NEW
Alias: None
Product: javascript
Classification: Unclassified
Component: Documentation (show other bugs)
Version: 7.4
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-03 06:53 UTC by Vladimir Riha
Modified: 2014-10-06 13:06 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2013-04-03 06:53:16 UTC
Please try following (taken from [1]):

/**
 * param {Date[]} aliases
 */
function Test(aliases) {
    aliases[0].
}


and invoke cc after ".". I think in this case IDE could be able to offer Date methods/properties. And the same could be done with @return


[1] https://code.google.com/p/jsdoc-toolkit/wiki/TagParam#Parameter_Type_Information

Product Version: NetBeans IDE Dev (Build web-main-10218-on-20130402)
Java: 1.7.0_17; Java HotSpot(TM) Client VM 23.7-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_17-b32
System: Linux version 3.2.0-39-generic-pae running on i386; UTF-8; en_US (nb)