clangd / vscode-clangd

Visual Studio Code extension for clangd
https://marketplace.visualstudio.com/items?itemName=llvm-vs-code-extensions.vscode-clangd
MIT License
594 stars 97 forks source link

Issue: The '' language server was not found on your path. would you like to download and install clangd 16.0.2? #540

Open shobhitg opened 9 months ago

shobhitg commented 9 months ago

I see the following error message:

The '' language server was not found on your path. would you like to download and install clangd 16.0.2?

Looks like this:

Screenshot 2023-10-03 at 9 53 43 AM

If I follow the GUI guidance in VSCODE and reinstall clangd, then after reloading vscode I get back to that exact same dialog.

This is from a vscode that is connected to a remote ubuntu (where all the code is) via ssh. Any ideas why this could be? The name clangd is missing within the single quotes.

HighCommander4 commented 9 months ago

Not sure what's going wrong here, but note that issues with the auto-install process can be worked around by downloading clangd manually from https://github.com/clangd/clangd/releases and pointing vscode to it using "clangd.path".