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 - Global variable not declared hint is not showing up in assignment
Summary: Global variable not declared hint is not showing up in assignment
Status: NEW
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.3
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-04 12:45 UTC by Vladimir Riha
Modified: 2013-07-30 19:48 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 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.