1
Contributions to C::B / Re: Code::Blocks' translation
« Last post by Miguel Gimenez on Today at 07:31:50 pm »Thank you
Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!
I forgot to say that clangd does work fine when I load a project, meaning the code completion works fine, while also has the issue user "wtfisgoingoff" mentioned.
hello, first time here.
I followed the wiki page to enable the Clangd plugin, but the code completion is not working.
Is there something I am missing?
I'm using build 13539 on windows.
So I guess you start Codeblocks by just typing "Codeblocks" or "Codeblocks.exe".
Good, so from now on type "codeblocks /d" to turn on the codeblocks debugger tab at the bottom.
Then go to Settings/Editor/clangd_client/ C/C++ parser(adv.)
Enable check boxes entitled "Enable plugin info logging" and "Enable plugin Debug logging".
Close CodeBlocks and restart it with the /d parameter to turn on those logs.
Load a project you'd normally load for editing.
Wait until the "Code::Blocks Debug" tab at the bottom stops scrolling information.
...
GetLSPclient: param pProject is missing
thx for the reply.
So I unzip the 3 .7z file (CB_20240807_rev13539_win64, wxmsw32u_gcc_cb_wx325_2D_gcc1410-mingw64, Mingw64dlls14.1.0)
into the same folder and start codeblocks.exe in it.
I'm going to guess the problem is caused by the space in "Program Files".
Clangd is essentially a Linux program which cannot handle spaces in file names.
We now need to determine if that is actually the problem.
First: Tell us how you start CodeBlocks so that we can then tell you how to turn the clangd_client logs on.
Then we can read the log to see what Clangd_client thinks the problem is.
Thanks for your patients.
so my clangd.exe is in "C:\Program Files\LLVM\bin\clangd.exe"
thx for the reply.
it's "C:\Program Files\LLVM\bin\clangd.exe".
that is a method listed on the wiki. And so is the LLVM one. They are both supposed to work right...?
I'm going to guess the problem is caused by the space in "Program Files".
Clangd is essentially a Linux program which cannot handle spaces in file names.
We now need to determine if that is actually the problem.
First: Tell us how you start CodeBlocks so that we can then tell you how to turn the clangd_client logs on.
Then we can read the log to see what Clangd_client thinks the problem is.
Thanks for your patients.