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 70072 - Implement Methods miss feedback
Summary: Implement Methods miss feedback
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Dusan Balek
URL:
Keywords: USABILITY
Depends on:
Blocks:
 
Reported: 2005-12-08 10:49 UTC by _ pkuzel
Modified: 2007-03-21 14:55 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 _ pkuzel 2005-12-08 10:49:34 UTC
I had a TopComponent subclass source with the caret above writeExternal()
method. I wanted to add preferredID() method next to it. So I invoked Ctrl+I
selected the method and confirmed. Nothing happened. I tried again (typing "pre"
and Enter). Nothing happened. 

It must be something stupid. So I scrolled to the source end and there was two
new methods preferredID() and preferredSize(). I got it.


However expected behaviour is that the method is inserted next to caret. Second
acceptable behaviour is that editor scrolls to newly inserted method.
Comment 1 Jan Pokorsky 2005-12-08 12:35:02 UTC
Adding the method next to caret would be the best option IMO.
Comment 2 Dusan Balek 2007-03-21 14:55:17 UTC
Fixed in the current dev build. Generate code action (Alt+Insert) adds newly
generated methods next to caret.