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 LanguageClient definition #56

Merged
merged 4 commits into from
Apr 23, 2023
Merged

Conversation

alcarney
Copy link
Member

  • Helper methods like client.completion_request(uri, line, char) have been dropped, maintaining these would be too time consuming.
  • However the renamed initialize_session and shutdown_session methods remain.
  • The language client now exposes both sync and async versions of LSP methods to closer align with the client in Add a LanguageClient autogenerated from lsprotocol type definitions openlawlibrary/pygls#328, with the ultimate goal of removing pytest_lsp/gen.py in favour of the upstream client when it is available.

- Update `scripts/gen_client.py` to align closer to what
  will (hopefully) be available in upstream pygls at some point.
- Drop most helper methods from `LanguageClient`
@alcarney alcarney merged commit b95c36e into swyddfa:develop Apr 23, 2023
6 checks passed
@alcarney alcarney deleted the checks branch April 23, 2023 13:42
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

1 participant