-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Show inline previews for LSP document colors #32816
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
Conversation
I think of skipping this entirely, as for this we have to chunk the text differently, based on these LSP data mixins — that is quite a task on its own. |
# Conflicts: # crates/project/src/lsp_store.rs
4afb399
to
e0ebb1d
Compare
Do we support |
This is an initial version with RGBA support only for now, as the only thing that protocol defines. |
I added an discussion about |
Can't wait for this to land. Thank you for implementing it. |
colors.mov
Closes #4678
Also adds the code to support
textDocument/colorPresentation
counterpart that serves as a resolve mechanism for the document colors.The resolve itself is not run though, and the editor does not accommodate color presentations in the editor yet — until a well described use case is provided.
Use
lsp_document_colors
editor settings to alter the presentation and turn the feature off.Release Notes: