Skip to content

Ensure language servers from extension properly start on workspace restoration#51308

Merged
osiewicz merged 2 commits intozed-industries:mainfrom
Dnreikronos:fix/extension-lsp-late-registration
Apr 16, 2026
Merged

Ensure language servers from extension properly start on workspace restoration#51308
osiewicz merged 2 commits intozed-industries:mainfrom
Dnreikronos:fix/extension-lsp-late-registration

Conversation

@Dnreikronos
Copy link
Copy Markdown
Contributor

Closes #49877

Before you mark this PR as ready for review, make sure that you have:

  • Added a solid test coverage and/or screenshots from doing manual testing
  • Done a self-review taking into account security and performance aspects
  • Aligned any UI changes with the UI checklist

Release Notes:

  • Fixed extension language servers not starting when Zed launches with files already open from a restored session.
Notify subscribers when an LSP adapter is registered and re-register
buffers that already have a language with newly available servers.

Fixes zed-industries#49877
@cla-bot cla-bot Bot added the cla-signed The user has signed the Contributor License Agreement label Mar 11, 2026
@MrSubidubi MrSubidubi changed the title Fix/extension lsp late registration Mar 11, 2026
Copy link
Copy Markdown
Member

@osiewicz osiewicz left a comment

Choose a reason for hiding this comment

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

Thanks! That's a neat way to solve this problem.

@osiewicz osiewicz merged commit 11cfb9e into zed-industries:main Apr 16, 2026
32 checks passed
G36maid pushed a commit to G36maid/zed that referenced this pull request Apr 29, 2026
…storation (zed-industries#51308)

Closes zed-industries#49877

Before you mark this PR as ready for review, make sure that you have:
- [x] Added a solid test coverage and/or screenshots from doing manual
testing
- [x] Done a self-review taking into account security and performance
aspects
- [ ] Aligned any UI changes with the [UI
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)

Release Notes:

- Fixed extension language servers not starting when Zed launches with
files already open from a restored session.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement

2 participants