Usage with vtsls
produces significant delays.
#1178
-
I didn't think I should create a bug report just yet, so here I am opening a Q&A discussion. I've configured the However, when using the server, the completions take a significant amount of time to pop up, and there are many micro-stutters while typing. It can take anywhere from 2-3 seconds for the completions to pop up (either with the built in Completions UI or Corfu). I cannot seem to figure out why. I had previously raised an issue with the As can be seen, the completions work fine and fast with Helix and NeoVim. Any help would be appreciated :) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Karan Ahlawat ***@***.***> writes:
I didn't think I should create a bug report just yet, so here I am
opening a Q&A discussion.
That's fine. That's exactly what you should do.
As can be seen, the completions work fine and fast with Helix and NeoVim.
Any help would be appreciated :)
You can share your Eglot event logs here, use M-x eglot-events buffer.
Maybe Eglot is making too many requests? Or not making the right
request at the right time?
Else I'll need some way to reproduce this locally.
You can also, if you know how to, share a dockerfile that I can build
and which will contain a language server installation and a project
where you reproduce the problem. I can then connect to the docker
machine with Emacs via TRAMP (I've learned to do that recently), and
hopefully reproduce the sluggishness.
João
|
Beta Was this translation helpful? Give feedback.
-
I think we should move this discussion to yioneko/vtsls#52. Would be highly appreciated if someone knowledgeable about Eglot internals could give their input. |
Beta Was this translation helpful? Give feedback.
I think we should move this discussion to yioneko/vtsls#52. Would be highly appreciated if someone knowledgeable about Eglot internals could give their input.