Auto complete not "auto"

General questions regarding the usage of CodeLite
myk45
CodeLite Enthusiast
Posts: 13
Joined: Fri Nov 07, 2014 2:58 pm
Genuine User: Yes
IDE Question: C++
Contact:

Auto complete not "auto"

Post by myk45 »

Hi All,

I installed CodeLite couple of weeks ago and boy do i love it! :) :)
The software is awesome, the support is great!
Now, to my question. I see that the auto-complete is working only when i press "Ctrl + SPACE".
For example,

when I do #include, I need to press "Ctrl + SPACE" to invoke the header file options.
These don't come by default. Is there a setting I need to set?

Thanks!
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Auto complete not "auto"

Post by eranif »

settings->code completion->triggering->auto display code completion box when typing

Eran
Make sure you have read the HOW TO POST thread
myk45
CodeLite Enthusiast
Posts: 13
Joined: Fri Nov 07, 2014 2:58 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Auto complete not "auto"

Post by myk45 »

thanks for the reply Eran! I have version 2.8 of codelite. This doesn't have the settings->code completion option.
I installed CodeLite via the Ubuntu software manager. Is the option you mentioned, available only on newer versions?
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Auto complete not "auto"

Post by eranif »

To be honest, I dont remember v2.8 settings...
Why don't you upgrade to 6.1?

v2.8 is old and unstable, and ofc, we don't support it
You can install the latest version (6.1) from our Debian/Ubuntu repository:

http://codelite.org/LiteEditor/Repositories

Before you install it, make sure you purge the old version:

Code: Select all

sudo apt-get purge codelite codelite-plugins
Eran
Make sure you have read the HOW TO POST thread
myk45
CodeLite Enthusiast
Posts: 13
Joined: Fri Nov 07, 2014 2:58 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Auto complete not "auto"

Post by myk45 »

Thanks Eran. I am trying to upgrade, and i get the following:

codelite : Depends: libglib2.0-0 (>= 2.41.1) but 2.32.4-0ubuntu1 is to be installed
Depends: libhunspell-1.3-0 (>= 1.3.3) but 1.3.2-4 is to be installed
Depends: libjbig0 (>= 2.0) but it is not installable
Depends: liblzma5 (>= 5.1.1alpha+20120614) but 5.1.1alpha+20110809-3 is to be installed
Depends: libpango-1.0-0 (>= 1.18.0) but it is not installable
Depends: libpangocairo-1.0-0 (>= 1.14.0) but it is not installable
Depends: libssh-4 (>= 0.6.1) but 0.5.2-1ubuntu0.12.04.3 is to be installed
Depends: libstdc++6 (>= 4.9) but 4.6.3-1ubuntu5 is to be installed


Sorry, I'm not a very experienced Linux user. Can you please let me know how i can fix this.
DavidGH
CodeLite Plugin
Posts: 819
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: Auto complete not "auto"

Post by DavidGH »

Hi,

Which version of ubuntu are you using? Have you updated it recently?

How are you trying to install CodeLite? Using apt-get (or synaptic or whichever front-end)? Or direct with dpkg?

Regards,

David
myk45
CodeLite Enthusiast
Posts: 13
Joined: Fri Nov 07, 2014 2:58 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Auto complete not "auto"

Post by myk45 »

Hi David,

I'm using Ubuntu 12.04 64 bit version.
I was following this link: http://www.sysads.co.uk/2014/05/install ... inux-mint/
Doesn't seem to work yet. Trying a sudo apt-get -f install now
myk45
CodeLite Enthusiast
Posts: 13
Joined: Fri Nov 07, 2014 2:58 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Auto complete not "auto"

Post by myk45 »

I've not updated it recently.
No luck with this too. I had to give wget http://ubuntu.intergenia.de/ubuntu//poo ... btiff4_3.9.7-2ubuntu1_amd64.deb
All those steps worked fine, however, apt-get install gave the same errors as earlier.

EDIT: Now, I'm not able to install the previous version also :( Any hints?
DavidGH
CodeLite Plugin
Posts: 819
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: Auto complete not "auto"

Post by DavidGH »

I'm using Ubuntu 12.04 64 bit version.
I thought it would be something like that. CodeLite 5.4 is the last version that supports 12.04.

However 5.4 is still in the repo, and you should be able (or at least should have been able ;) ) to install it by following the instructions in http://codelite.org/LiteEditor/Repositories, substituting 'precise' for utopic or whatever in your repo line. Or you could have followed the 'Previous CodeLite Releases' link to arrive here.
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Auto complete not "auto"

Post by eranif »

Or you could simply build it from sources. Its very easy on Linux check the wiki http://wiki.codelite.org
Make sure you have read the HOW TO POST thread
Post Reply