Live template

Hi, I have tried to figure this one out but I give up. Trying to understand RubyMine's syntax for Live Template. I noticed that there are some expressions available. Esentially I want to accomplish a new method template where for example if used the abbreviation "nm"

It would drop something as follows:

def new_Method

     #amiracam -- 12/2/2011 , 3:45 PM


end

ideally "new_Method" would be highligted ready to be typed over.

thanks in advance

2 comments

bump :)

alternatively , a way of user and date into the method template

0

Please sign in to leave a comment.