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 211452

Summary: Type of global variable not recognized in Navigator
Product: javascript Reporter: Vladimir Riha <vriha>
Component: EditorAssignee: Martin Fousek <marfous>
Status: VERIFIED FIXED    
Severity: normal CC: vriha
Priority: P4    
Version: 7.2   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Vladimir Riha 2012-04-19 13:33:58 UTC
Type following in JS editor:
myDate = new Date();

result: In Navigator there is only "myDate"

change the previous code to
var myDate = new Date();

result: In Navigator there is "myDate:Date"




Product Version: NetBeans IDE Dev (Build 20120419-310edb8742b3)
Java: 1.7.0_04; Java HotSpot(TM) Client VM 23.0-b21
System: Linux version 3.0.0-17-generic-pae running on i386; UTF-8; en_US (nb)
Comment 1 Martin Fousek 2012-09-20 09:09:19 UTC
Looks to be already fixed.
Comment 2 Vladimir Riha 2012-09-20 09:18:40 UTC
indeed it is, thanks

Product Version: NetBeans IDE Dev (Build 201209200001)
Updates: Updates available
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)