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 217450 - Code completion doesn't work properly if the previous line is missing semicolon
Summary: Code completion doesn't work properly if the previous line is missing semicolon
Status: RESOLVED FIXED
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: 2012-08-27 09:18 UTC by Martin Fousek
Modified: 2012-08-29 02:41 UTC (History)
0 users

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 Martin Fousek 2012-08-27 09:18:12 UTC
Product Version: NetBeans IDE Dev (Build 20120827-a1447f4e3665)
Java: 1.6.0_23; Java HotSpot(TM) 64-Bit Server VM 19.0-b09
System: Linux version 3.2.0-27-generic running on amd64; UTF-8; en_US (nb)

Steps to reproduce:
1, Have this code in .js file:
window.print("Asd")
$("#id").ani|
2, Invoke CC on "|" place
-> code completion doesn't work

If you would add semicolon behind the previous line, the CC works well then.
Comment 1 Petr Pisl 2012-08-28 10:03:14 UTC
Fixed in web-main
http://hg.netbeans.org/web-main/rev/c181d2e5d8aa
Comment 2 Quality Engineering 2012-08-29 02:41:30 UTC
Integrated into 'main-golden', will be available in build *201208290001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/c181d2e5d8aa
User: Petr Pisl <ppisl@netbeans.org>
Log: #217450 - Code completion doesn't work properly if the previous line is missing semicolon