zed
zed copied to clipboard
When closing buffer from single-file workspace clangd keeps running
Summary
clangd keeps running even if all buffers have been closed.
Steps to trigger the problem:
- Open a C++ file in an empty Zed window. clangd starts indexing
- Close the buffer. clangd keeps running
Expected Behavior:
clangd should stop immediately after the buffer is closed. I noticed that if I open another project (while keeping the current window open), clangd is stopped.
Zed Version and System Specs
Zed: v0.180.2 (Zed) OS: macOS 15.3.2 Memory: 32 GiB Architecture: aarch64
Seems that this may be a recurring problem. Is there anything in the zed log (zed: log) before or after closing Zed that would seem to be related to clangd?
It looks like this has been fixed recently.