PHANTOM
🇮🇳 IN
Skip to content

Add support for textDocument/inlineValues#806

Merged
dbaeumer merged 3 commits intomicrosoft:mainfrom
DanTup:inline-values
Oct 25, 2021
Merged

Add support for textDocument/inlineValues#806
dbaeumer merged 3 commits intomicrosoft:mainfrom
DanTup:inline-values

Conversation

@DanTup
Copy link
Contributor

@DanTup DanTup commented Sep 6, 2021

This is a first pass at implementing support for inlineValues proposed in the LSP repo at microsoft/language-server-protocol#1318 (to mirror VS Code's equivalent API https://code.visualstudio.com/api/references/vscode-api#InlineValuesProvider).

@dbaeumer I haven't built an implementation in a real server yet, but I did add integration/converter tests that are all passing (if I've missed any tests I should've added, please let me know!). I'd like to see this working end to end (eg. a real server having its values rendered inside VS Code) but it may take me a little longer to do that, so I figured it was worth opening a PR for feedback on the code (I don't expect end-to-end testing will result in any significant changes).

I've assumed this would go into 3.17 (as with the spec), but if 3.17 is close to release and that's not feasible, let me know and I'll update them both to 3.18.

@dbaeumer
Copy link
Member

dbaeumer commented Oct 25, 2021

@DanTup I will merge it in, but usually a PR like this needs a markdown file describing the feature so that we can merge it into the protocol later on. And it should all start in proposed state.

I will do the necessary changes.

@dbaeumer
Copy link
Member

I saw that you have a PR for this also in LSP land which is fine. Will simply copy the markdown for now.

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

Successfully merging this pull request may close these issues.

2 participants