phptools-docs
phptools-docs copied to clipboard
[Feature Request] Ability to restart php language server
There has been multiple times where the language server is not updating intellisense or showing errors that no longer exist, you can reload the window to "fix" or force a restart on the language server, but it would be nice to have a command that can do this too
thank you for reporting the issue!
we're already tracking the problem at https://github.com/DEVSENSE/phptools-docs/issues/182
Hopefully restarting LS won't be necessary)
We have fixed a few related issue;
Is it still happening in your case @nurdism ?
It still does not seem to update in some cases, the only way I have to test this right now is if I delete the vendor folder. The php files do not reflect the missing libs. I reload the window and then it shows there are no packages installed. Then run composer install and again I have to reload/reopen for the project for it to reindex the composer files.
@nurdism are you deleting the folder in vscode window, or outside the window (e.g. using File Explorer)
Isn't the vendor folder excluded from being listed in vscode Explorer?
@jakubmisek this is what I am seeing https://www.youtube.com/watch?v=eSLEwMxk_GU
@nurdism thank you; that looks like the bug we've been having previously.
Do you have something in the output log (as shown at https://youtu.be/KrDXWVIxOss)?
As a side note, I've tried this a lot of times repeatedly, and eventually, one folder was not indexed properly - I'll take a look on that, because that would cause the same problem as you're having.