Closed flupke closed 2 years ago
Should be problem of your language server, checkout https://github.com/neoclide/coc.nvim/wiki/Debug-language-server#using-output-channel
Could be issue with your tsserver or nodejs on your system
Thanks, if anyone comes here for the same issue, I found a similar issue, and contributed a complete log demonstrating it, here: https://github.com/microsoft/TypeScript/issues/48880
Very often auto import completion options are not offered, and I have to
CocRestart
to get them. The first 2 or 3 completions always work, then it stops working like 90% of the time (sometimes it works), until I restart the server.Sometimes the completion works for a few minutes, sometimes it stops working right after a restart. I noticed it seems to fail frequently after opening a new file.