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 241793 - Bad CC when replacing method call
Summary: Bad CC when replacing method call
Status: RESOLVED INVALID
Alias: None
Product: editor
Classification: Unclassified
Component: Completion & Templates (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-13 07:12 UTC by stwr
Modified: 2014-02-13 10:52 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 stwr 2014-02-13 07:12:36 UTC
Test Specification - Java Code Completion
Test Suite - Normal Code Completion
Test Case - Common part

The result is different as expected and totally bad:

LinkedList linkedList = new LinkedList();
linkedList.addFirst(this);Last(null);
Comment 1 Jiri Prox 2014-02-13 10:28:02 UTC
Did you confirm code completion by ctrl-enter?
I can see the described behavior only when confirming item only by Enter
Comment 2 stwr 2014-02-13 10:51:29 UTC
I used just ENTER. Sorry, my mistake.
Comment 3 stwr 2014-02-13 10:52:00 UTC
I confirm that using CTRL-ENTER for CC leads to the expected result.