Live Templates

I'd like to create a live template where one of the variables is set to the name of the enclosing class, but without the last word, e.g., I'd like the variable to be Account where the containing class is AccountBuilder.

Is there a way to do this out of the box? If not, is there a way to add a method to support this somehow?


Please sign in to leave a comment.