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

Issues with handling LSP servers #25358

Open
xhyrom opened this issue Feb 21, 2025 · 1 comment
Open

Issues with handling LSP servers #25358

xhyrom opened this issue Feb 21, 2025 · 1 comment
Labels

Comments

@xhyrom
Copy link

xhyrom commented Feb 21, 2025

Summary

LSP Fails to Start Due to Missing Root URI

Users of my Zed extension, Discord Presence, have reported "Failed to get root URI" errors. This happens because the extension relies on the root URI to determine the workspace folder name. A recent PR #25344 might have already addressed this.


Missing File Events or LSP Not Starting Properly

Based on xhyrom/zed-discord-presence#20 and xhyrom/zed-discord-presence#31, Zed sometimes fails to detect files correctly. As noted in this comment, the LSP doesn’t always start when it should. However, switching to a completely different file and then back to the original one seems to trigger the LSP.


LSP Not Shutting Down Properly When Closing Workspaces

There’s also an issue with shutting down the LSP when closing a workspace. For example, if Zed's settings.json is opened and then closed, the LSP remains active. This results in settings.json still appearing as the active file, even though it’s no longer open. This issue also occasionally occurs when closing Zed entirely.


Unzipping Issues on Windows

On Windows, Zed sometimes fails to download and extract files, showing the error:
"failed to download file: failed to unzip".

This issue occurs randomly, similar to zed-industries/zed#22815.

Zed Version and System Specs

Zed: v0.174.6, v0.173.10, v0.16.1
Operating system: Arch Linux, Void Linux and Windows (unzipping issue)

@xhyrom xhyrom changed the title Issues with handling LSP servers correctly Issues with handling LSP servers Feb 21, 2025
@maxdeviant
Copy link
Member

cc @osiewicz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants