Open tigersoldier opened 5 years ago
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.
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 totrue
.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