Skip to content

Unable to remove codelens without refreshing of the page #572

Description

Hey folks,

I have this code leans feature that I created that checks for methods that implement a specific signature and if it matches, apply the code lens. If the code changes my plugin recompiles the code (using the edited versions if they are opened) and invalidates all the lenses. However, this does not force the now invalid lenses to be removed. This follows the exact same method as the CodeLens example.

Is there a way to force all lenses to be reevaluated because calling Invalidate on every instance seems to have no effect.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions