Skip to content
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

Update Language Server Protocol version to 3.17 #37

Merged
merged 5 commits into from
Aug 27, 2022

Conversation

paracycle
Copy link
Contributor

Since 3.16, the LSP spec has changed how it stores and publishes the spec. That meant that the generateFiles.ts script was no longer working and needed extensive work to bring up-to-date.

Fortunately, the spec is now being published as a JSON meta model file, which allows this library to drop the TS dependency and to start processing the spec using pure Ruby.

Thus, this PR, drops all Node/JS/TS dependencies and introduces a new generate_files.rb script to do file generation. Using that script, the PR also updates the gem to version 3.17 of the protocol spec.

CHANGELOG.md Outdated Show resolved Hide resolved
@mtsmfm
Copy link
Owner

mtsmfm commented Aug 27, 2022

Some tests were failed because of my lack of maintenance, you don't have to care about that. I'll fix them in another PR.

@mtsmfm
Copy link
Owner

mtsmfm commented Aug 27, 2022

Awesome!

@mtsmfm mtsmfm merged commit 8839710 into mtsmfm:main Aug 27, 2022
@mtsmfm
Copy link
Owner

mtsmfm commented Aug 27, 2022

JFYI: I didn't think this change affects benchmark though, I checked benchmark just in case and the result is same-ish.

#38 (comment)

#34 (comment)

@mtsmfm
Copy link
Owner

mtsmfm commented Aug 27, 2022

I've just released 3.17.0.0. https://rubygems.org/gems/language_server-protocol/versions/3.17.0.0

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.

None yet

2 participants