vscode-intelephense icon indicating copy to clipboard operation
vscode-intelephense copied to clipboard

Show documentation/hover for language constructs

Open qiacoucc opened this issue 4 years ago • 4 comments

Why there are many PHP core functions without prompt???as :array/isset... https://github.com/JetBrains/phpstorm-stubs/blob/master/standard/_types.php

qiacoucc avatar Apr 19 '20 13:04 qiacoucc

@qiacoucc array() and isset() are not functions, but language constructs. For example you cannot use them as callback

It's not that big of a deal, everyone needs to learn these rather early. However, hover action would be nice addition anyway.

KapitanOczywisty avatar Apr 19 '20 23:04 KapitanOczywisty

So will this kind of language structure support hover prompt

qiacoucc avatar Apr 20 '20 01:04 qiacoucc

I feel like Intelephense seems incomplete without fully supported prompts.

rafalswierczek avatar Dec 07 '21 23:12 rafalswierczek

Here are probably all structures, which are not hinted in intelephense (8 in total): https://github.com/JetBrains/phpstorm-stubs/blob/master/standard/_types.php Everything else is hinted properly.

KapitanOczywisty avatar Dec 07 '21 23:12 KapitanOczywisty