Community
Participate
Working Groups
In Preferences > Java > Editor > Templates you can set the place where the cursor appears after insertion of the template via ${cursor} This is missing in In Preferences > Java > Code Generation !
$cursor would make sense when using 'Add Javadoc comment', but there are many use cases of 'code templates' where it doesn't: Create type uses file comment, type comment and sometimes method comment and bodyt together. Same with 'Override method' and Quick fix. It a good that I'll keep in mind. Where would you like to use the $cursor?
of course, ${cursor} would just be an optional tag you can add. i have code templates that also include javadoc comments. e.g. i have a code template for a method. as soon as the template is expanded, i want to write the javadoc comment for it, so i need the ${cursor}. i can't find a reason why not offer it as in Preferences > Java > Editor > Templates. your mentioned cases still keep being valid as ${cursor} is just an optional tag the user can use if he wants to. ;-)
As of now 'LATER' and 'REMIND' resolutions are no longer supported. Please reopen this bug if it is still valid for you.
See also bug 69435.
*** Bug 69435 has been marked as a duplicate of this bug. ***