Open Emc2356 opened 3 months ago
Which language / language server are you using that is triggering this? Can you provide a minimal file/repo which demonstrates this issue?
@notpeter sorry just saw your message
#include <string>
class VulkanShader {
public:
VulkanShader(const std::string& vert, const std::string& frag) :
private:
std::string mVertBin;
std::string mFragBin;
};
after the semicolon in like 6 when i type the letter m
the problem appears.
i am using clangd
The suggestion that I'm getting is similar, but appears to include more context as how the multiple suggestions differ:
Which version of clangd are you using? Mine is: Apple clangd version 15.0.0 (clang-1500.3.9.4)
[emc@Vroom ~]$ clangd --version
clangd version 18.1.8
Features: linux
Platform: x86_64-pc-linux-gnu
if it is using the clangd that i have installed in my system, not sure how to check it from zed
I can reproduce. Running Ubuntu Linux 22. Current Zed Nightly. Zed clangd.
# ~/.local/share/zed/languages/clangd/clangd_18.1.3/bin/clangd --version
clangd version 18.1.3 (https://github.com/llvm/llvm-project c13b7485b87909fcf739f62cfa382b55407433c0)
Features: linux+grpc
Platform: x86_64-unknown-linux-gnu
Works on MacOS, broken on Linux. Great reproduction steps @Emc2356! Thanks!
Check for existing issues
Describe the bug / provide steps to reproduce it
as the title said zed kept suggesting mVertBin over and over again for some reason
Environment