Skip to content

Implement Component and LanguageServer traits#271

Open
tartarughina wants to merge 1 commit into
zed-extensions:mainfrom
tartarughina:multi-lsp
Open

Implement Component and LanguageServer traits#271
tartarughina wants to merge 1 commit into
zed-extensions:mainfrom
tartarughina:multi-lsp

Conversation

@tartarughina

Copy link
Copy Markdown
Collaborator
  • Prepare the extension to offer multiple LSPs
  • Standardize retrieval and download of components
  • Simplify debugger interaction with jdtls

- Prepare the extension to offer multiple LSPs
- Standardize retrieval and download of components
- Simplify debugger interaction with jdtls
@tartarughina tartarughina requested a review from playdohface June 13, 2026 20:31
@cla-bot cla-bot Bot added the cla-signed label Jun 13, 2026
@tartarughina

Copy link
Copy Markdown
Collaborator Author

This refactor is the first step to vend multiple LSPs, following the pattern used in the Ruby extension.

Alongside it, I created the Component trait to standardize as much as possible the functions to call when downloading and retrieving bundles or components.

I finally simplified the Debugger by removing the overkill LspWrapper struct to save the current workspace.

To verify that nothing broke I had next to each other two Java projects and I was able to debug without issue, asserting no regression was caused by the removal of the Arc<RwLock<>>.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant