91
General (but related to Code::Blocks) / Re: Welcome Newcomers - PLEASE READ!!!
« Last post by Code::blocks on April 25, 2025, 01:13:41 pm »I am new, I am here
The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .
Somewhere there is a setting for which clangd is used by Code::Blocks check that is correct.
Edit: Best guess "settings->Editor"
To devs: Feature request that the setting of "$(TARGET_COMPILER_DIR)\bin\clangd.exe" works for clangd plugin; the clang plugin already has the code; but, the value of $(TARGET_COMPILER_DIR) is not know at the point in time; might not be possible for it to be known
Edit2: Looks like code is too complex for me to understand ClgdCompletion::OnAppStartupDone
Tim S.
I'll look to see if this is workable.
I vaguely remember that I tried this, but the needed macros were unknown at project load which is where the clangd.exe needs to be set.
But I'll look at it again anyway.
Somewhere there is a setting for which clangd is used by Code::Blocks check that is correct.
Edit: Best guess "settings->Editor"
To devs: Feature request that the setting of "$(TARGET_COMPILER_DIR)\bin\clangd.exe" works for clangd plugin; the clang plugin already has the code; but, the value of $(TARGET_COMPILER_DIR) is not know at the point in time; might not be possible for it to be known
Edit2: Looks like code is too complex for me to understand ClgdCompletion::OnAppStartupDone
Tim S.
Subject: codecompletion: Add include of "wx/xrc/xmlres.h" for nonPCH builds
---
src/plugins/codecompletion/parsemanager.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/plugins/codecompletion/parsemanager.cpp b/src/plugins/codecompletion/parsemanager.cpp
index 281fb5142..21d3e7b7e 100644
--- a/src/plugins/codecompletion/parsemanager.cpp
+++ b/src/plugins/codecompletion/parsemanager.cpp
@@ -16,6 +16,7 @@
#include <wx/log.h> // for wxSafeShowMessage()
#include <wx/regex.h>
#include <wx/wfstream.h>
+ #include <wx/xrc/xmlres.h>
#include <cbauibook.h>
#include <cbeditor.h>
--