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

Fix the vscode-languageserver-* imports #166

Merged
merged 1 commit into from
Mar 11, 2024

Conversation

remcohaszing
Copy link
Contributor

@remcohaszing remcohaszing commented Feb 12, 2024

This package was importing code from vscode-languageserver. However, it doesn’t specify vscode-languageserver as a dependency. All imports used, were just re-exports from the vscode-languageserver-protocol package. It was also importing code from the vscode-languageserver-types package.

This changes all imports from vscode-languageserver and vscode-languageserver-types to vscode-languageserver-protocol imports, and adds this mising dependency.

Also the vscode-languageserver-textdocument dependency was moved into devDependencies, because it’s only used in a test and in the example.

@remcohaszing remcohaszing marked this pull request as draft February 12, 2024 21:41
This package was importing code from `vscode-languageserver`. However,
it doesn’t specify `vscode-languageserver` as a dependency. All imports
used, were just re-exports from the `vscode-languageserver-protocol`
package. It was also importing code from the
`vscode-languageserver-types` package.

This changes all imports from `vscode-languageserver` and
`vscode-languageserver-types` to `vscode-languageserver-protocol`
imports, and adds this mising dependency.

Also the `vscode-languageserver-textdocument` dependency was moved into
`devDependencies`, because it’s only used in a test and in the example.
@remcohaszing remcohaszing force-pushed the fix-languageserver-imports branch from 95b51f5 to bbd585e Compare February 13, 2024 10:22
@remcohaszing remcohaszing marked this pull request as ready for review February 13, 2024 10:23
@mjbvz mjbvz enabled auto-merge March 11, 2024 20:27
@vscodenpa vscodenpa added this to the March 2024 milestone Mar 11, 2024
@mjbvz mjbvz merged commit e59ec26 into microsoft:main Mar 11, 2024
5 checks passed
@remcohaszing remcohaszing deleted the fix-languageserver-imports branch March 11, 2024 22:13
@mjbvz
Copy link
Contributor

mjbvz commented Mar 11, 2024

Thanks @remcohaszing! Will publish an alpha release with this shortly

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.

4 participants