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 255522 - When trying to use completion in JavaScript, the result is not what were selected
Summary: When trying to use completion in JavaScript, the result is not what were sele...
Status: RESOLVED WORKSFORME
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.0.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-23 18:02 UTC by happyhippie
Modified: 2015-09-24 09:31 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 happyhippie 2015-09-23 18:02:05 UTC
Product Version = NetBeans IDE 8.0.2 (Build 201411181905)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.8.0_11
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.11-b03

It happened when i wrote 'this.container.tagName.to' and then opened the completion view, selected 'toLowerCase',
but instead, it wrote 'typeOf'.

:: CODE SNIPPET ::

    // this.container is set upper in the constructor method.
    // Right after 

    if (this.container.tagName.typeof(object)) {
      // Invalid
      return null;
    }

:: \ CODE SNIPPET ::
Comment 1 Petr Pisl 2015-09-24 09:31:59 UTC
I can not reproduce it in NB 8.1 and dev build. Are you able to reproduce it? If yes, could you attach the file, where it can be reproduced. Thanks. Marking as works for me so far.