Class name in live templates

I'm trying to create a simple live template, for Javascript :


I want $className$, to contain by default the current className

I edited the variables,  added className() in the expression field, but it doesn't work
When I expand the template it's empty.

Here is the code of my class :

export class wxcDatesManager extends wxcManagerBase
//I'm inserting the template here

What am I doing wrong ?




Please sign in to leave a comment.