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

Summary: Implement Methods miss feedback
Product: java Reporter: _ pkuzel <pkuzel>
Component: EditorAssignee: Dusan Balek <dbalek>
Status: RESOLVED FIXED    
Severity: blocker Keywords: USABILITY
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

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.