Closed BrikeX closed 1 month ago
I can't reproduce this, but based on the symptoms it seems more likely to be an issue with the editor (vscode) itself rather than the vscode-clangd plugin.
I'm having the same problem too.
System information: Clangd version : 18.1.2 clangd extension version: 0.1.28 Operating system: Windows 11 Pro(Version: 23H2, OS build: 22631.3527) VS Code: 1.88.1
How to reproduce:
Example: Main.cpp
#include <iostream>
int main()
{
return 0;
}
1: Add std::vector<int> v;
above return 0;
2: Move the cursor:
3: Use quick actions shortcut(CTRL + .
)
4: Press enter then,
Another note: If i click on the lightbuld on step 3 instead of using the shortcut, there seems to be no problem.
@emrekovanci This bug is reported at here: https://github.com/microsoft/vscode/issues/209762
Thanks for the info. I added the minimal steps to reproduce; maybe it will help.
A blue lightbulb appears when clangd detects an issue and a preferred quick fix is available. But the blue bulb won't go away after the issue is fixed.
System information Clangd version : 17.0.3 clangd extension version: 0.1.28 Operating system: Linux Mint 21.3 VS Code: March 2024 (version 1.88)