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 224477

Summary: Global variable not declared hint is not showing up in assignment
Product: javascript Reporter: Vladimir Riha <vriha>
Component: EditorAssignee: Petr Pisl <ppisl>
Status: NEW ---    
Severity: normal CC: vriha
Priority: P3    
Version: 7.3   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Vladimir Riha 2013-01-04 12:45:36 UTC
I changed this hint to Warning and Error (and tried the default warning on current line) and it is still no displaying in case like:

function test(){
    t = 1;
}

foo = 1;



Product Version: NetBeans IDE Dev (Build web-main-9631-on-20130104)
Java: 1.7.0_10; Java HotSpot(TM) Client VM 23.6-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_10-b18
System: Linux version 3.2.0-34-generic-pae running on i386; UTF-8; en_US (nb)
Comment 1 Vladimir Riha 2013-05-22 13:04:59 UTC
I'm not sure if this should display the hint as this is assignment...
Comment 2 Petr Pisl 2013-07-30 19:48:17 UTC
The variable is marked in our model as defined, because it is on the left side. But I agree that the hint should be there.