Skip to content

Conversation

tembleking
Copy link
Member

This pull request introduces a series of refactorings to improve the structure, testability, and robustness of the LSP server and its related components.

Key changes include:

  • Centralized command execution and error handling within the LSP server.
  • Implemented the command pattern for LSP actions, organizing them into distinct modules.
  • Extracted the LspServer into its own module for better separation of concerns.
  • Improved the component factory and LSP server lifecycle management.
  • Introduced mockall to enhance testing capabilities.
  • Used a trait for ComponentFactory to allow for easier mocking and dependency injection.
  • Addressed clippy warnings by deriving Default for test helper structs.

@tembleking tembleking enabled auto-merge (squash) October 2, 2025 14:20
@tembleking tembleking merged commit 76a5a41 into master Oct 2, 2025
5 checks passed
@tembleking tembleking deleted the refactor-lsp-server branch October 2, 2025 14:29
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