Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hover results in continuous server communication loop #31

Open
Yuri-Blankenstein-TNO opened this issue Oct 22, 2024 · 0 comments
Open

Comments

@Yuri-Blankenstein-TNO
Copy link

I've created an LSP server using Xtext, see https://eclipse.dev/Xtext/documentation/340_lsp_support.html
When hovering text, this results in and endless communication loop as:

  • Hovering sends a document change to the server
  • The server publishes new diagnostics based on the document change
  • The client updates its diagnostics and 'detects a new hover request', etc.

I think that the hover should not send the document change. It should assume that the server is up-to-date.

Yuri-Blankenstein-TNO pushed a commit to Yuri-Blankenstein-TNO/codemirror-languageserver that referenced this issue Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant