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 220613 - Implement method does not put it at cursor position
Summary: Implement method does not put it at cursor position
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-22 20:43 UTC by Chiana
Modified: 2012-10-28 21:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Before implementation (55.86 KB, image/jpeg)
2012-10-22 20:44 UTC, Chiana
Details
After implementation (46.17 KB, image/jpeg)
2012-10-22 20:45 UTC, Chiana
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chiana 2012-10-22 20:43:52 UTC
[ JDK VERSION : 1.7.9 ]

When you use the alt-space to implement an unimplemented method the generated
method is placed above cursor position and any preceeding comments.
Examine impl1: This is before hitting alt-space and selecting to implement
"eventAvailable()".
impl2: after implementation, as you can see the implementation is above the
comment I made as a header for the implementation.
Comment 1 Chiana 2012-10-22 20:44:54 UTC
Created attachment 126355 [details]
Before implementation
Comment 2 Chiana 2012-10-22 20:45:26 UTC
Created attachment 126356 [details]
After implementation
Comment 3 Dusan Balek 2012-10-26 11:27:25 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/d79da5e571b3
Comment 4 Quality Engineering 2012-10-27 01:33:49 UTC
Integrated into 'main-golden', will be available in build *201210270001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/d79da5e571b3
User: Dusan Balek <dbalek@netbeans.org>
Log: Issue #220613 - Implement method does not put it at cursor position - fixed.
Comment 5 Chiana 2012-10-28 21:29:41 UTC
Verified