php-language-server icon indicating copy to clipboard operation
php-language-server copied to clipboard

AutoCompletion stops working after writing "function"

Open Aayush04 opened this issue 6 years ago • 1 comments
trafficstars

I am using php-language-server with Monaco-languageClient and connected the php-language-server over process io. Initially, when the editor load autocompletion works fine but as soon as I type "function" keyword, the completion stops working. And textdocument/completion call returning an empty list. Also, when making any change in the editor publishDiagnostics message also not coming from language server. Please find the screenshots for the same:

Initially, when the completion working properly: Screen Shot 2019-05-17 at 12 05 01 PM

After writing "function" completion, publishDiagnostics stops: Screen Shot 2019-05-17 at 12 07 44 PM

I also tried using vscode-php-intellisense in the vscode editor. But there sometime same issue coming and sometimes it works fine.

Aayush04 avatar May 17 '19 06:05 Aayush04

Any updates on this ? I'm having the same kind of issues with keywords like class or function (class breaks it more often). Sometimes it works well, sometimes it does not. When it fails, i'm able to confirm that the editor stops receiving changeDiagnostics messages.

I had to downgrade vscode-php-intellisense to 2.3.5 to fix the issue. I'm running Theia within a Docker container, if that may help.

mvallerie avatar Sep 19 '19 03:09 mvallerie