Community
Participate
Working Groups
3.4 The code generation actions should offer a option that allows to insert exactly at the current cursor location. Note that the dialogs had this option in 3.3, but it didn't really add exactly at the cursor position.
Refer to Bug 122820 for details about what this feature should do and how the previous attempt to implement it in Eclipse fell far short of the mark.
An additional "At cursor position" location would be especially handy when the current setting is First/Last member, but it also wouldn't hurt in other cases.
*** Bug 373196 has been marked as a duplicate of this bug. ***
I think that the code should *always* be inserted at the cursor position. If it isn't, then it's a bug. The behaviour documented in Bug 373196 seems to be arbitrary, and thus does not seem to be useful at first sight: > When executed close to comments, the Override / Import > feature places generated code at the wrong place. It > then seems to skip a whole subsequent method before > inserting any code. A similar thing happens when trying > to generate an implementation stub at the end of a > class (after a pre-existing comment). The code is not > added after the comment, but before
Ping :-) This is really annoying me a lot in my code base. Not drastically, but the /r/mildlyinfuriating kind. Is there any chance that this could be reviewed?