vscode-php-docblocker
vscode-php-docblocker copied to clipboard
can't find class name
There is no perception class name, function name and property name.
But thank you very much for this plugin, Looking forward to for a long time.

@MarlonFan thanks for your feedback on this. Really appreciate it.
The reason I left it as not inferring class names is simply because I find if it does, people will be less inclined to actually write a meaningful comment block. Then you end up with a class of meaningless DocBlocks. Technically the regex does already know the class name. Perhaps we can support both approaches and provide this as an option.
@neild3r I understand, will carry on the plan?
If I was to implement this as an option you can turn on what format would you like for the class name initial message?
May be like this? Just a suggestion。

And would service\ come from the namespace or would that be a tabstopped placeholder?
Also note I've added @package to the completion list in the next release, see #2
Cool, didn't see before.
This introduces another problem:
I usually have in the package-annotation the full class name, except the last part, because that's reserved for subpackage
@neild3r is there a way to auto fill the function name to the comment block ?