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

CodelensProvider not refreshing when changing documents #951

Open
eusebiu opened this issue Feb 4, 2024 · 0 comments
Open

CodelensProvider not refreshing when changing documents #951

eusebiu opened this issue Feb 4, 2024 · 0 comments
Assignees

Comments

@eusebiu
Copy link

eusebiu commented Feb 4, 2024

Extension sample

codelens-sample

VS Code version

1.86

What went wrong?

  1. Start from codelens-sample - https://github.com/microsoft/vscode-extension-samples/blob/main/codelens-sample/
  2. run the extension (with C# DevKit installed)
  3. write some C# code in one document and see the code lens appearing (including the C# ones)
  4. open another document and write some text and see the code lens appearing
  5. change back to the first C# document
  6. The codelens do not appear until something is typed or window is refocused (e.g. ALT+Tab) and existing ones are disabled (not clickable).

image

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

2 participants