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 157203 - JavaScript CC broken
Summary: JavaScript CC broken
Status: VERIFIED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Vitezslav Stejskal
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-21 10:41 UTC by Martin Schovanek
Modified: 2011-12-13 07:34 UTC (History)
2 users (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 Martin Schovanek 2009-01-21 10:41:45 UTC
[#Nb-Parsing-API-140, jdk1.5.0]

to reproduce:

1) have a .js file like (| represents cursor)
var docxx;
function docxxf() {
    var docxx1, docxx2;
    docxx2 = ""
    doc|
}

2) invoke CC

ERROR1: the CC offers only docxx1 and docxx2 variables, following items are missing:
- docxx variable and docxxf() function
- doctype, document, ... (implicit DOM variables)

3) invoke CC in 'docxx2.|' context

ERROR2: you get 'No suggestion' response, all String and Object class properties are missing.

Reproducible only on Parsing-API build.
Comment 1 Vitezslav Stejskal 2009-01-21 14:16:34 UTC
First part (#2) of the problem should be fixed now - http://hg.netbeans.org/jet-parsing-api/rev/44a7daf60990. I still
have to find out why there are no suggestions in #3.
Comment 2 Vitezslav Stejskal 2009-02-27 10:10:22 UTC
This was fixed some time ago.
Comment 3 Quality Engineering 2009-03-17 08:31:03 UTC
Integrated into 'main-golden', will be available in build *200903170201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/44a7daf60990
User: Vita Stejskal <vstejskal@netbeans.org>
Log: #157203: fixing index roots discovery
Comment 4 Vladimir Riha 2011-12-13 07:34:11 UTC
v.