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.
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.