-
Notifications
You must be signed in to change notification settings - Fork 156
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 textDocument/inlineValue from LSP 3.17 #1042
Conversation
sorry for the delay on this - this is awesome! I've kicked off the pipelines on both repos and would love to help bring this in |
When we switch to this, are there changes to the Ionide configs that are required? Or should this change also listen to the Ionide settings around pipeline hints and turn itself on/off with those? |
I dont think any change to the config is required. |
If this new LSP capability is added to FSAC, won't the existing pipelinehints functionality in Ionide override/conflict with this then? That's what I'm getting at. If both mechanisms deliver the same content, then only one of them should run. And if we allowed configuration of the mechanism via config in Ionide before, then the new mechanism should respect that configuration as well. |
You are right.
If you agree on the above 3 points I will make the change to broadcast this new server capability. |
I think we're on version 8 of the languageclient: https://github.com/ionide/ionide-vscode-fsharp/blob/main/package.json#L20 But that's not a huge deal - if I'm understanding you correctly, if you broadcast this capability, and check if the client supports the capability, then this endpoint will be toggled off/on, and we can control which mechanism (Ionide client-side pipeline hints or the new inlineValues) are used at the Ionide level instead when we update the FSAC used by Ionide. Is that correct? If so, then I agree with your plan entirely. |
This is really cool, could you rebase on the latest changes? |
Looks great, and the test failures are that one silly flaky test. Thanks for this @kaashyapan! |
@kaashyapan what did you have to do to get the inline values to show? I noticed that the |
Serve information from fSharp/pipelineHints via the new LSP endpoint textDocument/inlineValue (LSP spec 3.17)