Codelite 13.0 clang problem (Linux)

CodeLite installation/troubleshooting forum
cheina97
CodeLite Curious
Posts: 9
Joined: Sun Oct 08, 2017 1:17 pm
Genuine User: Yes
IDE Question: c++
Contact:

Codelite 13.0 clang problem (Linux)

Post 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
DavidGH
CodeLite Plugin
Posts: 819
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: Codelite 13.0 clang problem (Linux)

Post 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
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Codelite 13.0 clang problem (Linux)

Post 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
Make sure you have read the HOW TO POST thread
cheina97
CodeLite Curious
Posts: 9
Joined: Sun Oct 08, 2017 1:17 pm
Genuine User: Yes
IDE Question: c++
Contact:

Re: Codelite 13.0 clang problem (Linux)

Post by cheina97 »

Thanks for your help
cheina97
CodeLite Curious
Posts: 9
Joined: Sun Oct 08, 2017 1:17 pm
Genuine User: Yes
IDE Question: c++
Contact:

Re: Codelite 13.0 clang problem (Linux)

Post 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?
Post Reply