-
Notifications
You must be signed in to change notification settings - Fork 184
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
Add code lens image to the docs #2074
Conversation
Kinda feel like the default value should be |
Kind feel like we should remove the "annotation" and only leave "phantom" :D (because LSP uses annotations for code actions, code lens and maybe diagnostics in the future) but I would discuss that, before doing anything. Yeah, I'll steal your screenshot (with phantoms) :) |
Last commit uses annotations value for code lens. |
We could show both, mentioning also the relevant option that controls that. |
Wouldn't remove it entirely. Sometimes it is quite annoying when the code shifts because new code lenses are available or the server just started. |
I have no strong opinion about this particular setting, but I would also feel like the following settings could better use a different default value (everything is very subjective of course):
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is docs/src/images/code-lens.png used anywhere?
I'm still a little confused about this implementation. What happens when you click the buttons? In VSCode they would bring up a panel which shows context around the code (thus the idea of a lens) but here they appear to be like code actions. |
closes #2073