I have prepared and attached simple demo. Created it from wxwidgets template project. You must change compiler settings, linker settings and search directories in debug mode to your own because I have wxwidgets installation in custom home directory. Problematic variables are: mListCtrlSources and thisNOTwork (I already started they with -> )
Thanks for the example code.
I have verified that the legacy CodeCompletion plugin will not produce completion choices for the code you indicated.
wxStaticBoxSizer * staticBoxSource = new wxStaticBoxSizer(wxHORIZONTAL, this, "Source dirs && files");
wxListCtrl* mListCtrlSources = new wxListCtrl(this, -1);
mListCtrlSources->
... and others ..
In order to produce completions for your code, you will have to use the Clangd_client plugin instead.
Info:
The instuctions for using the Clangd_client language server protocol (LSP):
https://wiki.codeblocks.org/index.php/CB_Clangd_Client
If clangd is already installed on your Linux system, you need only disable the CodeCompletion plugin, enable the Clangd_client plugin, and restart CodeBlocks.
Go to the Settings/Clangd_client/ and enter the address of your Clang executable.
Hmm, but in plugins manager I don't have anything like clangd (see attachment). When I click on "Install new" I have file browser filtered by .cbplugin, not .so or executable. Wiki from your link doesn't say anything about cbplugin installation, it expects that clangd plugin already exists and anything what must be done is just enable it
And seems that I have it installed on my linux:
locate clangd
/usr/bin/clangd
/usr/bin/clangd-18
/usr/lib/llvm-18/bin/clangd
Edit: Note that I already have installed codeblocks, codeblocks-common and codeblocks-contrib packages