Skip to content

Add optional reason for why the client failed to apply an edit#637

Merged
dbaeumer merged 2 commits intomicrosoft:gh-pagesfrom
DanTup:patch-1
Apr 25, 2019
Merged

Add optional reason for why the client failed to apply an edit#637
dbaeumer merged 2 commits intomicrosoft:gh-pagesfrom
DanTup:patch-1

Conversation

@DanTup
Copy link
Contributor

@DanTup DanTup commented Dec 12, 2018

Fixes #618.

@dbaeumer I don't know if this is all that's required, or if my description is good enough - but feel free to suggest changes and/or tweak.

(It'd also be good for VS Code to use this too, for example describing a version mismatch if that's the reason it rejects edits).

@dbaeumer
Copy link
Member

@DanTup would be cool if you could add it to the protocol as well (it is here: https://github.com/Microsoft/vscode-languageserver-node/blob/master/protocol/src/protocol.ts#L1928)

@DanTup
Copy link
Contributor Author

DanTup commented Dec 18, 2018

@dbaeumer
Copy link
Member

Yes. Thanks.

@dbaeumer dbaeumer added this to the 3.15 milestone Dec 19, 2018
@DanTup
Copy link
Contributor Author

DanTup commented Feb 6, 2019

@dbaeumer I'm not sure if it was intended, but the change to the protocol library was merged, but this one was not - so it's not in the spec currently.

@dbaeumer
Copy link
Member

Sorry totally missed that.

Thanks for pinging.

@dbaeumer dbaeumer merged commit 382d33c into microsoft:gh-pages Apr 25, 2019
@DanTup DanTup deleted the patch-1 branch April 25, 2019 14:29
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