bmewburn / vscode-intelephense

PHP intellisense for Visual Studio Code
https://intelephense.com
Other
1.64k stars 94 forks source link

Undefined type but can go to definition. #1731

Open xpader opened 3 years ago

xpader commented 3 years ago

Sometimes intelephense can not found the Definition, but the Class is exists, and VSCode can to go definition.

Not often, it happens occasionally.

屏幕截图 2021-04-07 141622

Platform and version Windows 10. VSCode 1.55.0. Intelephense 1.6.3.

phenom911-glitch commented 3 years ago

image somewhat similar is happening to me aswell but with built in functions

phenom911-glitch commented 3 years ago

try ctrl+shift+p than index workspace mine fixed doing this

rittycat commented 3 years ago

Re-indexing worked for me. This issue happens for me after every major VS-code update. Maybe making Intelephense auto-index after update would fix the issue?