Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Update vscode-languageclient and refactor (a lot of TLC) #4131

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

Merged
andyleejordan merged 5 commits into main from andschwa/update-lsp
Aug 12, 2022

Conversation

Copy link
Member

@andyleejordan andyleejordan commented Aug 12, 2022

Hopefully fixes #4128 by eliminating race conditions in the LanguageClient's connection process.

@ghost ghost added the Issue-Bug A bug to squash. label Aug 12, 2022
Also update our engine to align with ADS's update to 1.62.0.
Unfortunately, we still have unresolved work pending their update to
1.65.0.
@andyleejordan andyleejordan marked this pull request as ready for review August 12, 2022 20:51
@andyleejordan andyleejordan requested a review from a team August 12, 2022 20:51
Copy link
Collaborator

@SeeminglyScience SeeminglyScience left a comment
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! well done 🎉

(after tests pass ofc)

Lots of clean-up, a little refactoring, and most importantly, a less
buggy `LanguageClient` implementation (which is less prone to race
conditions). Also handle disposal of handler registrations.
This is necessary to take the language client library update.
Unfortunately it means that ADS won't be able to take the next update to
our extension until they catch up to at least this engine version. It
could be worse, we didn't have to bump to 1.7x.
@andyleejordan andyleejordan changed the title (削除) Update vscode-languageclient and refactor (削除ここまで) (追記) Update vscode-languageclient and refactor (a lot of TLC) (追記ここまで) Aug 12, 2022
@ghost ghost added Area-Startup Issue-Bug A bug to squash. labels Aug 12, 2022
@andyleejordan andyleejordan deleted the andschwa/update-lsp branch August 12, 2022 21:40
Copy link
Member Author

FYI @Charles-Gagnon we had to bump our engine to 1.65 in order to (finally) take the language client library update. What's ADS's ETA to merge 1.65?

Copy link

No exact ETA at this point in time - we're working on another update currently though (probably for October/November) that may get up that far, if not then it'll be sometime early next year.

andyleejordan and SydneyhSmith reacted with thumbs up emoji

Copy link
Member Author

No worries, if you need we can back-port some patches and cut you a new release, but hopefully you can just take this one sooner rather than later!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@SeeminglyScience SeeminglyScience SeeminglyScience approved these changes

Assignees
No one assigned
Labels
Area-Engine Area-Startup Issue-Bug A bug to squash. Issue-Enhancement A feature request (enhancement).
Projects
No open projects
Status: Done
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Language client failed to start in newest preview in Windows PowerShell 5.1

AltStyle によって変換されたページ (->オリジナル) /