sublimelsp / LSP-intelephense

PHP support for Sublime's LSP plugin provided through intelephense.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Laravel ide helper support

zigi05 opened this issue · comments

commented

Laravel-ide-helper not working on Sublime Text 4 with lsp-intelephense installed.

please follow bmewburn/vscode-intelephense#2459 as this is not an issue of LSP-intelephense. It looks like it will be fixed in the next release of intelephense.

commented

I'm trying to use the helper for facades, but they still don't autocomplete or recognized without error.
image

v1.0.31 has been released. That may fix this.

commented

@jfcherng not working :(
image

What's the error msg?

commented

laravel-ide-helper helps code autocompletion service (in our case lsp-intelephense) discover laravel global facades to enable autocompletion. So in ST4 with LSP-Intelephense the laravel-ide-helper has no effect, the Route facade, for example, is not discover nor autocompleted. Here's the error it has:
image

Can you try to delete intelephense's cache directory? It's in your home directory with name .intelephense.

If the issue persists, I suggest you go to the issue link I post since we can't help here.

commented

Can you try to delete intelephense's cache directory? It's in your home directory with name .intelephense.

This helped. Thank you.