Live template autocomplete FQN
Hi,
I am trying to create following live template
/**
* @:$methodParameter$=implementations($fullyQualifiedName$)
*/
e.g.
/**
* @:items=implementations(Abc\Def\IItem)
*/
public function __construct(array $items) {
I have a template
@:$NAME$=implementations($FQN$)
$NAME$ = completeSmart()
$FQN$ = completeSmart()
but it always fills just the name, not fully qualified name ... is this possible to do? complete() doesn't seem to do that either
In Code settings for PHP I tried to enable FQN in doc comments checkbox, but it didn't help.
(also a minor thing - using this PHPStorm immediately enters the first suggestion, it doesn't display the dropdown to choose from, this is not possible to do?)
Thank you!
Please sign in to leave a comment.
Hi,
Could you provide a template text and some sample code where you want to use it, please?