I have something like the following in a Netbeans code template:
/**
* stuff
*/
$name = '${name}';
array('${var1 default="persons_${name}"}');
How can I make the default
value for var1
actually expand the name
variable as input in the preceding line when using the code template?
I expect to get:
/**
* stuff
*/
$name = 'joseph';
array('person_joseph');
When I fill in joseph for the name variable.