How to get the className of a PHP class in Live templates?


I'm currently using the latest PHPStorm 4.0.2.
I've been trying to create a live template that will autogenerate a constructor method in a class.

So far I've added my template with abbreviation 'pfcon'. The tepmlate text is:

public function $CLASS$($PARAMETERS$){

and I've edited the $CLASS$ variable to have default expression "classNameComplete()".

I thought this will generate

public function MyClassName($PARAMETERS$){

but insted it asks me to enter $CLASS$ variable.

Am I doing something wrong?

Please sign in to leave a comment.