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

Server doesn't return useful information after modifying file.

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

In both Emacs and VS Code, the server works when the first time it opens a file. Diagnosis are published; hover returns symbol info; completion returns candidates (triggered manually without typing). After any modification (typing, deleting), the server stops working. Diagnosis return nothing; hover returns nothing; completion returns empty list with isIncomplete set to true.

Here is the file I used: https://gist.github.com/tigersoldier/209f550b3e16affabf66a2c00315f5eb

Here is part of the logs including working completion/hover, the change after that, and not working completion after change: https://gist.github.com/tigersoldier/ebe8affda09d23ff01ac0820bacdab8e

tigersoldier avatar Mar 25 '19 06:03 tigersoldier

Any Idea regarding this issue, Because I am also facing the same, with my client. ( monaco-language-client). In my case, initially the server works fine and gives expected results (for e.g. autocompletion), but as soon as I change something like write a function, the server stops working properly and Diagnosis return nothing; hover returns nothing; completion returns empty list with isIncomplete set to true.

In-fact publishDiagnostics calls stops coming from server.

amarnath-mishra avatar May 09 '19 07:05 amarnath-mishra