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 222094 - JSDoc not generated in embedded JS code
Summary: JSDoc not generated in embedded JS code
Status: VERIFIED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Documentation (show other bugs)
Version: 7.3
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Martin Fousek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-14 09:15 UTC by Vladimir Riha
Modified: 2012-11-16 08:06 UTC (History)
1 user (show)

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 2012-11-14 09:15:29 UTC
In plain HTML file, try this:

<script>
/**
var e;

</script>

and press Enter on the line with /** so JSDoc is "expanded"/generated. The result is missing @type and looks like

/**
 *
 */

The same goes for e.g. functions etc.



Product Version: NetBeans IDE Dev (Build nbms-and-javadoc-9594-on-20121114)
Java: 1.7.0_10-ea; Java HotSpot(TM) 64-Bit Server VM 23.6-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b15
System: Mac OS X version 10.8.2 running on x86_64; US-ASCII; en_US (nb)
Comment 1 Martin Fousek 2012-11-14 12:53:32 UTC
Good catch, thanks Lado.

Fixed in web-main #ebd72c250d3f.
Comment 2 Quality Engineering 2012-11-15 02:44:49 UTC
Integrated into 'main-golden', will be available in build *201211150001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/ebd72c250d3f
User: Martin Fousek <marfous@netbeans.org>
Log: #222094 - JSDoc not generated in embedded JS code
Comment 3 Vladimir Riha 2012-11-16 08:06:02 UTC
Thanks, verified


Product Version: NetBeans IDE Dev (Build 201211160001)
Java: 1.7.0_10-ea; Java HotSpot(TM) Client VM 23.6-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b15
System: Linux version 3.2.0-32-generic-pae running on i386; UTF-8; en_US (nb)