Skip to content

Make $capabilities initialize param optional #6

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

Closed
wants to merge 1 commit into from

Conversation

kaloyan-raev
Copy link
Contributor

Eclipse Che does not pass ClientCapabilities in InitializeParams. This
works well with other language server, but not with this one.

The issue is resolved by making the $capabilities param optional.

Eclipse Che does not pass ClientCapabilities in InitializeParams. This
works well with other language server, but not with this one.

The issue is resolved by making the $capabilities param optional.
@felixfbecker
Copy link
Owner

Eclipse Che behaves incorrectly here, capabilitities is not optional:
https://github.com/Microsoft/language-server-protocol/blob/master/protocol.md#initialize-request

It can be empty, but it must be defined

@kaloyan-raev
Copy link
Contributor Author

OK. I prepared this PR for Che: eclipse-che/che#2314

@tiansin tiansin mentioned this pull request Aug 22, 2017
@ghost ghost mentioned this pull request Apr 20, 2018
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