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

clangd (Unknown worktree) shown in LSP logs #25642

Open
hferreiro opened this issue Feb 26, 2025 · 2 comments
Open

clangd (Unknown worktree) shown in LSP logs #25642

hferreiro opened this issue Feb 26, 2025 · 2 comments

Comments

@hferreiro
Copy link
Contributor

Summary

While working on a C++ project (https://github.com/chromium/chromium), I always see a number of "clangd (Unknown worktree)" entries at LSP logs.

Image

ps shows that only one clangd process is running though. And clicking on Server Info when one of those entries is selected doesn't work (the selected entry is not changed).

Zed Version and System Specs

Zed: v0.174.8 (Zed)
OS: macOS 15.3.1
Memory: 32 GiB
Architecture: aarch64

@osiewicz
Copy link
Contributor

In general "unknown worktree" is used when we're running a language server instance for one-off buffers (outside of your project worktrees), such as stdlib headers and so on. I'm not sure why they show up for you if the process is not running though.

@hferreiro
Copy link
Contributor Author

hferreiro commented Feb 26, 2025

If I open a file outside of the project, I see "clang(<file name>)", and clicking "Server Info" works.

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

No branches or pull requests

2 participants