Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

Code completion using LSP and clangd

<< < (52/92) > >>

Pecan:

--- Quote from: gd_on on November 14, 2022, 02:04:13 pm ---Cool.
I see that clangd_client plugin is now included in contrib plugins.
Three details :

* within contrib, it's version 87 though on your svn site it's version 88;
* CodeBlocks_wx32_64.workspace has not been updated to include the clangd_client but all other workspaces are OK;
* the documentation-install folder is not there.
gd_on

--- End quote ---

I don't know how to control that header version number, but the code for rev 88 is included with the contrib commit.

CodeBlocks_wx32_64.workspace corrected; Thanks.

The documentation-install folder was left out on purpose and will be included in the CB wiki for Clangd_client so we can just refer to the wiki url to answer questions. A new section will be added for just "using" the plugin vs "compiling from source.

Thanks

gd_on:
OK.
Nevertheless I see at least four differences :
- in version.h, probably not very important (svn version number)
- in manifest.xml, here too not very important (svn version number)
- in codecompletion.cpp, here too not very important (revision number in the headers)
- in LSP_symbolsparser.cpp, small differences near line 2200. I don't know if it's important
There are other differences but only in $HeadURL lines, so no problems.

Pecan:

--- Quote from: Miguel Gimenez on November 14, 2022, 04:16:26 pm ---File clangd_client_wx31.cbp has this linker option:

--- Code: ---<Add option="-m64" />
--- End code ---
but it is a 32-bit project.

--- End quote ---
Fixed rev 13031. Thanks

Pecan:

--- Quote from: Miguel Gimenez on November 14, 2022, 02:30:42 pm ---Conversely, clangd_client_wx32.cbp is missing although CodeBlocks_wx32.workspace includes it (ticket #1327).

--- End quote ---
Fixed rev 13031. Thanks

Miguel Gimenez:
Thank you for the fix. The new clangd_client_wx32.cbp has some issues:

<Add option="-m64" /> and <Add option="-D_WIN64" /> in compiler options.

References to devel32_64 and .objs32_64

Global variables use #WX32_64

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version