How to get the className of a PHP class in Live templates?
Hey,
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$){
$END$
}
and I've edited the $CLASS$ variable to have default expression "classNameComplete()".
I thought this will generate
public function MyClassName($PARAMETERS$){
$END$
}
but insted it asks me to enter $CLASS$ variable.
Am I doing something wrong?
请先登录再写评论。