Open smileBeda opened 1 year ago
The doc says that the php-docblocker.extra may be an array of extra tags to add to each DocBlock (These can include tabstops and snippet variables)
php-docblocker.extra
So I created
"php-docblocker.extra": [ "myvar ${1:name}" ],
returns myvar Undefined variable
myvar Undefined variable
Is there a list somewhere of available variables?
The end goal in this case is to create a proper var tag that has this appearance @var [type] [name] [desc], or a (missing) access tag
var
@var [type] [name] [desc]
access
Update
I realise these are not variables but placeholders. So the question I guess would be "how can we create our own dynamic placeholders or variables.
The doc says that the
php-docblocker.extra
may be an array of extra tags to add to each DocBlock (These can include tabstops and snippet variables)So I created
returns
myvar Undefined variable
Is there a list somewhere of available variables?
The end goal in this case is to create a proper
var
tag that has this appearance@var [type] [name] [desc]
, or a (missing)access
tagUpdate
I realise these are not variables but placeholders. So the question I guess would be "how can we create our own dynamic placeholders or variables.