Open RobbyCBennett opened 9 months ago
@microsoft-github-policy-service agree company="Scientific Toolworks, Inc."
@RobbyCBennett tahnks for the PR. Changing the spec is the easy part :-). To contribute additional functionality to the spec a reference implementation is needed as well. See https://github.com/microsoft/language-server-protocol/blob/main/contributing.md
I will keep the PR open for a while but without a reference implementation I will not be able to merge the PR.
Isn't this a breaking change?
Currently, the href
field is mandatory. With this PR, it would become optional. So any client which unconditionally tries to read href
might crash if the field doesn't exist.
To contribute additional functionality to the spec a reference implementation is needed as well.
Thank you. I was just looking to get some feedback before the reference implementation is made.
Isn't this a breaking change?
Yes, I will change it to accommodate for language clients that will crash after assuming the href
field is defined.
Perhaps instead, it could be simplified to be part of Diagnostic
, as a new field longMessage
that could be just below message
. I think that this would be more clear and it also wouldn't break language clients.
I didn't follow https://github.com/microsoft/language-server-protocol/blob/main/contributing.md because it seems to be intended for adding new types and methods.
Reference implementation:
Step 1: (this PR)
Step 2: PR in VSCode repo:
Step 3
Step 4 (PR in VSCode Language Server Node repo):
https://github.com/microsoft/language-server-protocol/issues/1461