Is there a way in Visual Studio Code to get IntelliSense to display me the parameters of my custom function within my php file?
It seems to be working with other languages
(source: telerik.com)
As of right now this is not possible natively. Even the popular PHP IntelliSense extension does not support this.
Edit: It seems that the PHP IntelliSense extension has now been updated to support Signature help as well:
I have recently discovered an extension called PHP Intelephense which can do exactly this.
You can even utilize Type Declarations and PHP 7 Return Type Declaration to empower it even more:
The best result is when all type declarations are combined with a DocString, which allows you to write descriptions of parameters. I use the PHP DocBlocker extension to write these, but you could use another, or write them manually.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With