vscode-php-docblocker icon indicating copy to clipboard operation
vscode-php-docblocker copied to clipboard

Add editor.suggestOnTriggerCharacters to requirements?

Open m-thorsen opened this issue 7 years ago • 3 comments

Would it be wise to include in the readme that editor.suggestOnTriggerCharacters needs to be true for this extension to work?

Without this setting, the doc block will open, but nothing is filled in - nor does it close itself. It might be obvious, but it had me stumped for a while.

docblockr

m-thorsen avatar May 22 '17 07:05 m-thorsen

Perhaps it is worth including something about suggestions. I don't believe that you need editor.suggestOnTriggerCharacters for it to work as it would work if you summoned the suggestions manually after typing /** in. However you would still need to know that it works off the auto completions and you'd need to summon them or have the auto summoning of them on in some form.

neild3r avatar May 23 '17 13:05 neild3r

Well I had issues with it not working suddenly, went here on Github and found this issue and turned that setting back to true. Now it works again.

If it's not dependent on editor.suggestOnTriggerCharacters being set to true, then how could I get it to auto-fill a phpdoc snippet for me?

carestad avatar May 16 '18 12:05 carestad

I was going crazy trying to figure out how this extension just suddenly stopped working... then I discovered this issue. Thank you @m-thorsen. 👍

dmyers avatar Sep 11 '19 01:09 dmyers