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

Reorganize LSP extensions #1227

Merged
merged 3 commits into from
Dec 2, 2024

Conversation

matthewbastien
Copy link
Member

Organize our LSP extensions in the same way that vscode-languageclient does: by using a namespace that includes all of the relevant information related to the Request/Notification. This allows us to use our LSP extensions in the same type-safe manor as we do with built-ins.

Copy link
Contributor

@award999 award999 left a comment

Choose a reason for hiding this comment

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

otherwise looks good

/**
* Used to create a {@link LanguageClient} for use in VS Code.
*
* This is primarily used to make unit testing easier so that we don't have to
Copy link
Contributor

Choose a reason for hiding this comment

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

awesome :)

src/sourcekit-lsp/extensions/index.ts Outdated Show resolved Hide resolved
@matthewbastien matthewbastien merged commit 02d0726 into swiftlang:main Dec 2, 2024
15 checks passed
@matthewbastien matthewbastien deleted the lsp-extensions branch December 2, 2024 14:49
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