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.
I see no way of providing types for variables (except for setting it's value from a constructor). It would be nice if you would support @type tag. And so the following should set `Date` type for `test`: /** * @type Date */ var test;
Actually this is already fixed. BTW, for the usage of Code Completion there is still blocker, that CC after properties offers just Object's fields - see issue #214205.
What do you mean by fixed? There is generation of this comment for variables but Navigator does not show the type
(In reply to comment #2) > What do you mean by fixed? There is generation of this comment for variables > but Navigator does not show the type I think that the rest should be resolved by fixing issue #214205. So I'm keeping this opened for verification then, but there is problem with properties generally I think.
The issue wasn't related to issue #214205 as I thought. It looks to be working already properly - navigator, CC.
v. Product Version: NetBeans IDE Dev (Build 201209140001) Java: 1.7.0_07; Java HotSpot(TM) Client VM 23.3-b01 System: Linux version 3.2.0-30-generic-pae running on i386; UTF-8; en_US (nb)