Skip to content

Excessive CodeLens Requests #5104

Open
Open
@JustinGrote

Description

@JustinGrote

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions