Page 1 of 1

Codelite 13.0 clang problem (Linux)

Posted: Wed Apr 01, 2020 12:27 pm
by cheina97
Goodmorning, some days ago i installed codelite 13.0 from the debian stretch repository (i know that is available the 14.0 version, but my distro is based on stretch and not buster).

I noticed that there's no more the "clang window" in the bottom of the screen and i wasn't able to find "clang settings" in Settings->code completition...
Anyway, during the installation i noticed that the package "clang-tools" was suggested.
So i installed "clang-tools-4.0", but nothing changed.
I also tried to install clang-tools-4.0 and other versions before installing codelite, but i received againg the suggestion to install clang-tools.

So my question is: Is the old clang support still available in codelite 13 or i cannot find the "clang options" because a package is missing? (what package i need?)
I’ve used the “only clang completition” option in the past and I’d like to keep doing it

Thanks for your attention

Re: Codelite 13.0 clang problem (Linux)

Posted: Wed Apr 01, 2020 9:31 pm
by DavidGH
Hi,

Have you tried using the Language Server plugin instead. It was introduced in CL 13.0, and is at least as good as clang code-completion, which IIUC is now deprecated.

Regards,

David

Re: Codelite 13.0 clang problem (Linux)

Posted: Thu Apr 02, 2020 1:51 am
by eranif
The old clang code completion is now 'Language Server'
This is the new direction of the IDEs (not only CodeLite, but also used by VSCode, Eclipse and all the major IDEs/Editors out there)

You should do this:
1. upgrade to CodeLite 14.0 ( it fixes and improves the user experience for working with clangd )
2. Configure Language Server (clangd for C++). In CodeLite 14, CodeLite can do this automatically for you

Since you are on Debian, I would suggest using our repository:

https://downloads.codelite.org
Or build CodeLite from sources.

To configure LSP (Language Server Porotcol plugin):
https://wiki.codelite.org/pmwiki.php/Ma ... uageServer

Re: Codelite 13.0 clang problem (Linux)

Posted: Thu Apr 02, 2020 7:02 pm
by cheina97
Thanks for your help

Re: Codelite 13.0 clang problem (Linux)

Posted: Thu Apr 02, 2020 9:35 pm
by cheina97
I've just finished to install codelite 14 and clangd, it seems to work.
The work done with this version looks incredible and clangd is awesome, good job.
The only thing that i don't like is the abbreviation plugin.
I remember that in the version 12 it was included in the normal autocompletition, now the only way to use the abbreviatons tool is pressing the shortcut.
Is there a wat to include abbreviations in the normal autocompletition?