Open imdanielsp opened 3 months ago
After I finished writing this issue, I thought it might be better to label this as a Feature Request–feel free to do so if you agree.
i have been getting this error as a popup today, but what does it actually mean?
what does it actually mean?
On a high-level, it means the vscode-clangd extension is trying to make a network request to https://api.github.com/repos/clangd/clangd/releases/latest to check for or install an updated clangd binary, and the Github server is responding with a "rate limit exceeded" error.
As for why Github responds this way, I have no idea.
Note that the automatic update check can be disabled by setting "clangd.checkUpdates": false
.
It's always possible to update the clangd server manually by downloading the desired version from https://github.com/clangd/clangd/releases (or another source of your choice, like https://apt.llvm.org/ for Debian-based Linux systems) and pointing the extension to it using "clangd.path"
.
I decided to upgrade my version of Clang to 18; after removing the older version and installing the newer one, I noticed that the extension was no longer working. I immediately looked at the extension log, and nothing was being displayed, nor pop-up errors in the VSCode UI. After some digging, I decided to open the Developer Tools and found that the extension is attempting to download clangd–which is ok; I can probably provide the path to the new binary, I hope–but it was getting rate limited:
Extension console log empty:
Logs
System information Clangd version (from the log, or
clangd --version
):clangd extension version: 0.1.28 Operating system: Ubuntu 20.04
Consider making this error more explicit by either: