Switch to LSP client v10.0.0-next.18 and enable delayOpenNotifications#5830
Merged
Switch to LSP client v10.0.0-next.18 and enable delayOpenNotifications#5830
Conversation
There was a problem hiding this comment.
Pull request overview
This PR upgrades the vscode-languageclient dependency from v8.1.0 to v10.0.0-next.18 and enables the delayOpenNotifications feature to address GitHub issue #5176.
Key Changes:
- Upgraded vscode-languageclient to v10.0.0-next.18 with updated peer dependencies
- Updated StaticFeature interface API from
dispose()toclear()across all implementations - Simplified LspUriConverters interface to use function signatures instead of importing converter types
- Added
delayOpenNotifications: trueconfiguration to the LSP client options - Enhanced type handling for SnippetTextEdit in workspace edit processing
Reviewed changes
Copilot reviewed 7 out of 8 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| package.json | Updated vscode-languageclient dependency to version 10.0.0-next.18 |
| package-lock.json | Updated dependency tree including vscode-jsonrpc, vscode-languageserver-protocol, and vscode-languageserver-types to their corresponding next versions; marked balanced-match as dev dependency |
| src/shared/vscode/lsp_uri_converters.ts | Simplified LspConverters interface by replacing imported URIConverter types with direct function signatures |
| src/shared/vscode/lsp_common_capabilities.ts | Updated StaticFeature implementation to use clear() instead of dispose() |
| src/shared/vscode/interactive_refactors.ts | Updated StaticFeature implementation to use clear() instead of dispose() |
| src/shared/vscode/analyzer_update_diagnostic_information.ts | Updated StaticFeature implementation to use clear() instead of dispose() |
| src/extension/analysis/analyzer_snippet_text_edits.ts | Updated StaticFeature implementation to use clear() instead of dispose() |
| src/extension/analysis/analyzer.ts | Added delayOpenNotifications configuration and included ls.SnippetTextEdit in type union for handling snippet text edits |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #5176