vscode-php-docblocker
vscode-php-docblocker copied to clipboard
Update @var snippet to match spec
Spec: @var [“Type”] [$element_name] [<description>]
Current Snippet: @var ${1:mixed}
Proposed Snippet (untested): @var ${1:type} $${2:var_name} ${3:description}
I am wondering why it is not possible to customise the var further than what is currently possible. It does not even accept custom strings, not to speak of variables.
The proposed snippet unfortunately does not work (as it is not supported)
It just defaults to @var [type] YOUR_CUSTOM_DESC_STRING
@neild3r - any hint on how we can achieve it?
I tried a bunch of stuff inclusive regex, which all simply does not work/is not accepted/considered by the var tag in the extension :(