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

zed: not able to use MSYS2's clangd #21712

Open
2 of 7 tasks
BLumia opened this issue Aug 22, 2024 · 3 comments
Open
2 of 7 tasks

zed: not able to use MSYS2's clangd #21712

BLumia opened this issue Aug 22, 2024 · 3 comments
Labels

Comments

@BLumia
Copy link
Contributor

BLumia commented Aug 22, 2024

Description / Steps to reproduce the issue

I'm reporting this issue here because...

Please, report any issue in msys2/MINGW-packages/issues first.           --windows.md

Currently it seems Zed won't recognize MSYS2's clangd, don't support setting the location of clangd manually, and also won't be able to download its own clangd successfully.

Reproduce steps:

  1. Create a simple CMake-based C++ project
  2. run cmake -Bbuild . -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_BUILD_TYPE=Debug to ensure compile_commands.json is generated
  3. run zed . to start the zed editor, which is installed by running pacman -S mingw-w64-ucrt-x86_64-zed
  4. See result.

Feel free to let me know if you need any additional information.

Expected behavior

The clangd-based C++ intellisense features should be available (able to Ctrl+Click to jump to definition, etc.)

Actual behavior

The clangd-based C++ intellisense features is not working at all, we can also "Downloading clangd..." on the status bar, and it also won't finish download. Beside that, it also seems we can not set the location of clangd manually.

Verification

Windows Version

MINGW64_NT-10.0-22631

MINGW environments affected

  • MINGW64
  • MINGW32
  • UCRT64
  • CLANG64
  • CLANG32
  • CLANGARM64

Are you willing to submit a PR?

No (since it might be a Zed issue instead of MSYS2 packaging issue)

@BLumia BLumia added the bug label Aug 22, 2024
@Biswa96
Copy link
Member

Biswa96 commented Aug 22, 2024

Could you get some hint in Process Monitor (filter: process name zed.exe)?

@BLumia
Copy link
Contributor Author

BLumia commented Aug 24, 2024

The filtered results are seven figured and I'm not sure where to look at. Could you explain in detail? btw, does it mean it works as intended on your device?

@Biswa96
Copy link
Member

Biswa96 commented Aug 24, 2024

It does not work in my device and fails with some vulkan related error probably due to absense of dGPU.

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

2 participants