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 128299 - CC for do|
Summary: CC for do|
Status: VERIFIED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Torbjorn Norbye
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-25 11:52 UTC by Martin Schovanek
Modified: 2009-02-27 14:26 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 Schovanek 2008-02-25 11:52:55 UTC
[#080225, jdk1.5.0]

to reproduce:
-------------
1) type in a .js (| represents cursor):
  do|

ERROR: document and Document are missing among the CC items, CC offers only 'do' and 'double'
Comment 1 Martin Schovanek 2008-02-25 12:03:22 UTC
forget step 2:
2) invoke CC
Comment 2 Torbjorn Norbye 2008-02-25 16:12:09 UTC
This is happening when the symbol is -exactly- "do", e.g. "d|", or "doc|" or "docu|" etc works.   The reason this
happens is that do is a keyword and this is confusing the parser. Should be relatively easy to fix.
Comment 3 Torbjorn Norbye 2008-02-25 23:23:20 UTC
Fixed in changeset b714c05ca24d
Comment 4 Martin Schovanek 2008-02-26 10:46:03 UTC
v.