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 250375 - Missing items from @type in code completion for parameter
Summary: Missing items from @type in code completion for parameter
Status: NEW
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-11 14:22 UTC by Vladimir Riha
Modified: 2015-02-11 14:22 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2015-02-11 14:22:08 UTC
Please try following:


function DefClass() {
    this.counter = 1;
    this.props = {};
}
/**
 * @typedef   samplePropT
 * @type      {DefClass|Date}
 * @property  {String} vlastnost
 * @property  {String} [popis]
 * @property  {Human} [clovek]
 * @property  {Array|Number} pokus
 */

/**
 * Comment
 * @param {samplePropT} dd description
 */
function simpledef(dd) {

}

simpledef({|})




and invoke cc in "|". It offers properties like vlastnost, popis but not counter or props from DefClass.


Thank you


Product Version: NetBeans IDE Dev (Build web-main-1920-on-20150211)
Java: 1.7.0_67; Java HotSpot(TM) Client VM 24.65-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_67-b01
System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)