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 139953 - [65cat] Code completion doesn't replace existing code
Summary: [65cat] Code completion doesn't replace existing code
Status: RESOLVED DUPLICATE of bug 139870
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: PC Windows Vista
: P3 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-14 21:45 UTC by ieising
Modified: 2008-07-15 10:45 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 ieising 2008-07-14 21:45:48 UTC
[ JDK VERSION : 1.6.0_04 ]

Hi,

When I have for example the following code:

Image img = new Image(...);
int height = img.getWidth();

Which obviously has a problem since I should've retrieved the img's
height, I put the cursor at img.get|Witdh() and I hit CTRL-SPACE and
select getHeight() I end up with the following code:

int height = img.getHeight()Width();

Which obviously doesn't compile.

Iwan
Comment 1 Vitezslav Stejskal 2008-07-15 10:45:06 UTC
This is the same as issue #139870. If there is a strong feeling that this should be classified as a defect then please
change #139870.

*** This issue has been marked as a duplicate of 139870 ***