Auto TODO comment on stub method creation

Answered

I seem to remember that a TODO comment used to be created when Intellij creates a stub method for me. 

The setup:

While coding a method I create a statement to make a call to a nonexistent method of a class. I then use alt-enter to create the missing method. Can I have Intellij auto create a TODO comment in that new stub method?

0
3 comments

You can add it here:

See also the templates for Overridden and Implemented method body.

0
Avatar
Permanently deleted user

Thank you, that did the trick

0
Avatar
Permanently deleted user

Serge Baranov I have the same configuration as in your photo

Here is my configuration but its not working

what should I do

 

Update:

Solved it, I should have edited "implemented method" template instead

I will keep the comment in case anyone uses it in future

0

Please sign in to leave a comment.