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

Excessive CodeLens Requests #5104

Open
JustinGrote opened this issue Nov 27, 2024 · 1 comment
Open

Excessive CodeLens Requests #5104

JustinGrote opened this issue Nov 27, 2024 · 1 comment
Labels
Issue-Bug A bug to squash.

Comments

@JustinGrote
Copy link
Collaborator

JustinGrote commented Nov 27, 2024

Summary

When a document is open there are codelens requests roughly every 500ms.
image

Our client current announces it supports refresh in the clientCapabilities, so the expected flow would be:

  1. Client Opens Document, requests initial codelens
  2. Client makes changes but doesn't request new codelens.
  3. If server detects a change that needs a new codelens, it sends a codelens refresh request
  4. Client then requests codelens upon notification.

This "polling" of codelens doesn't seem right if refresh is enabled

@JustinGrote JustinGrote added Issue-Bug A bug to squash. Needs: Triage Maintainer attention needed! labels Nov 27, 2024
@JustinGrote
Copy link
Collaborator Author

@SydneyhSmith SydneyhSmith removed the Needs: Triage Maintainer attention needed! label Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug A bug to squash.
Projects
None yet
Development

No branches or pull requests

2 participants