zed icon indicating copy to clipboard operation
zed copied to clipboard

Still can't switch from .h file to .cpp file

Open 1925381584 opened this issue 1 year ago • 2 comments

Check for existing issues

  • [X] Completed

Describe the bug / provide steps to reproduce it

Hi, I find this pr https://github.com/zed-industries/zed/pull/14646 has be merged. but I still can't switch from .h files to .cpp files

Environment

Zed: v0.151.0 (Zed Dev eb9eae09b1186ca54895a80a352da76591625032) OS: Windows 10.0.19045 Memory: 15.7 GiB Architecture: x86_64 GPU: Intel(R) Iris(R) Xe Graphics || Intel Corporation || Intel driver

If applicable, add mockups / screenshots to help explain present your vision of the feature

No response

If applicable, attach your Zed.log file to this issue.

Zed.log

[Zed.log](https://github.com/user-attachments/files/16711004/Zed.log)

1925381584 avatar Aug 22 '24 13:08 1925381584

I've noticed it not working in certain projects with this in the logs:

2024-08-22T13:29:13.797572Z [INFO] Clangd returned an empty string when requesting to switch source/header from "os.cc"

and, indeed, an empty response from clangd in LSP logs.

Seems that clang could be misconfigured?

SomeoneToIgnore avatar Aug 22 '24 13:08 SomeoneToIgnore

I don't know, In other respects, clangd is available normally. In my log, There is such a sentence, Not sure if this is the reason image

1925381584 avatar Aug 23 '24 00:08 1925381584