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

chore: Separate Client into own class #35

Merged
merged 2 commits into from
Aug 31, 2023
Merged

Conversation

phated
Copy link
Contributor

@phated phated commented Aug 31, 2023

Description

Problem*

Resolves

Summary*

This refactors the client construction and startup so it can be shared between workspaces and files. It also becomes its own class that extends the LanguageClient so we can attach other items, such as the Test Controller in #33, that are disposed with the client.

Additional Context

PR Checklist*

  • I have tested the changes locally.
  • I have formatted the changes with Prettier and/or cargo fmt on default settings.

@phated phated requested a review from kobyhallx August 31, 2023 17:33
Copy link
Contributor

@kobyhallx kobyhallx left a comment

Choose a reason for hiding this comment

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

LGTM

LanguageClientOptions,
ServerOptions,
TextDocumentFilter,
} from "vscode-languageclient/node";
Copy link
Contributor

Choose a reason for hiding this comment

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

This should get receive more attention as part of
Abstract node specific imports #36

@kobyhallx kobyhallx merged commit 1e5f9ef into master Aug 31, 2023
@kobyhallx kobyhallx deleted the phated/refactor-client branch August 31, 2023 18:01
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