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 219191 - Hint for missing semicolon does not appear if on the same line
Summary: Hint for missing semicolon does not appear if on the same line
Status: VERIFIED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.3
Hardware: PC Windows Vista
: P4 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-28 15:47 UTC by Monomachus
Modified: 2012-10-03 14:38 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 Monomachus 2012-09-28 15:47:02 UTC
While doing sanity test http://wiki.netbeans.org/TS_73_JavaScriptEditor#Test_suite:_Hints

Pasting this js

var X = {
    first: 10,
    second: 'text'
}

Hint 'missing semicolon' appear only if I press enter.
If on the same line hint doesn't appear.
Comment 1 Vladimir Riha 2012-09-28 15:51:48 UTC
reproducible, if there is no other line in JS file, then missing semicolon on the last line is not marked with hint.
Comment 2 Petr Pisl 2012-10-02 09:31:40 UTC
Fixed in web-main
http://hg.netbeans.org/web-main/rev/2cecbed44805
Comment 3 Quality Engineering 2012-10-03 02:41:56 UTC
Integrated into 'main-golden', will be available in build *201210030002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/2cecbed44805
User: Petr Pisl <ppisl@netbeans.org>
Log: #219191 - Hint for missing semicolon does not appear if on the same line
Comment 4 Vladimir Riha 2012-10-03 14:38:07 UTC
verified, thanks


Product Version: NetBeans IDE Dev (Build 201210030002)
Java: 1.7.0_10-ea; Java HotSpot(TM) Client VM 23.6-b03
System: Linux version 3.2.0-31-generic-pae running on i386; UTF-8; en_US (nb)