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.
Try code completion for this /** * @param p1 textA * @param {Cislo} p2 text2 */ function test(p1, p2) {} First param is missing type and code completion displays it as (p1: ,p2:Cislo). Would be nice to omit the ": " if type is not declared so the result is (p1, p2:Cislo) Product Version: NetBeans IDE Dev (Build 201209060001) Java: 1.7.0_07; Java HotSpot(TM) Client VM 23.3-b01 System: Linux version 3.2.0-29-generic-pae running on i386; UTF-8; en_US (nb)
Martin, IMHO this is bug in documentation parser, because I'm getting one type for p1 param and the type is empty string. Probably the documentation provider shouldn't return nothing in such case.
That's right. Already fixed in web-main #5b5bb7f67f92.
Integrated into 'main-golden', will be available in build *201209080001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/5b5bb7f67f92 User: Martin Fousek <marfous@netbeans.org> Log: #217949 - Completion contains redundant ": " if @param is missing type
thanks, works fine Product Version: NetBeans IDE Dev (Build 201209100001) Java: 1.7.0_07; Java HotSpot(TM) Client VM 23.3-b01 System: Linux version 3.2.0-29-generic-pae running on i386; UTF-8; en_US (nb)