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 222364 - Method incorrectly replaced by CC
Summary: Method incorrectly replaced by CC
Status: NEW
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.3
Hardware: All All
: P4 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-19 09:24 UTC by Tomas Mysik
Modified: 2012-11-19 10:49 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 Tomas Mysik 2012-11-19 09:24:07 UTC
The "|" represents cursor.

Sample:
document.getElementsBy|Name('a'); // <- invoke CC here and complete "getElementsByClassName" method

Result:
document.getElementsByClassName()Name('a');

Expected:
document.getElementsByClassName('a');

Thanks.

Product Version: NetBeans IDE 7.3 Beta 2 (Build 201211062253)
Updates: NetBeans IDE is updated to version , NetBeans 7.3 Beta 2
Java: 1.6.0_35; Java HotSpot(TM) 64-Bit Server VM 20.10-b01
Runtime: Java(TM) SE Runtime Environment 1.6.0_35-b10
System: Linux version 3.5.0-18-generic running on amd64; UTF-8; cs_CZ (nb)
Comment 1 Petr Pisl 2012-11-19 10:30:17 UTC
The current behavior is the same as in Java and similar to PHP. I agree that the replacing should be clever. I will keep it open as reminder to improve it.
Comment 2 Tomas Mysik 2012-11-19 10:49:47 UTC
Thanks a lot.