neoclide / coc-tsserver

Tsserver extension for coc.nvim that provide rich features like VSCode for javascript & typescript
MIT License
1.06k stars 68 forks source link

Freeze on go-to definition #301

Closed academo closed 3 years ago

academo commented 3 years ago

At times when trying to go to definition or implementation of symbols the editor freezes and it won't come out of it until the tsserver is killed or nvim is killed.

This is normal when the server is starting up but it also happens when it simply can't find a definition and the server stays looking for one (with high CPU consumption).

I am not sure if this is a tsserver error or in this plugin.

chemzqm commented 3 years ago

Should be problem of your language server, checkout https://github.com/neoclide/coc-tsserver#troubleshooting